harIII Posted October 15, 2011 Share Posted October 15, 2011 Hence the name I'm having trouble with my give item scripts. What happens is that the syntax is perfect, it add an item to my inventory and does its job, or so it seems. For some odd reason whenever I add a script to my inventory it turns off the music for some reason. If I open up one of the menus, the music continues playing. Once I add the item it's almost as if the script pauses the music, opening a menu unpauses the music, and then returning to the game pauses it again. I believe it's for all sound by the way. Over time I've noticed that if you enter a dialog with someone, the music will return. Any ideas what's going on? Also here is the syntax for the script I'm using and note that I've used both and they both do the same thing: CreateItemOnObject("g_w_lghtsbr02", oPC); } or object oItem2=CreateItemOnObject( "g_w_lghtsbr02", GetFirstPC()); Link to comment Share on other sites More sharing options...
Qui-Gon Glenn Posted October 16, 2011 Share Posted October 16, 2011 Have you tried adding a parameter value for the STACKSIZE? Perhaps this will help, cannot be certain: CreateItemOnObject("g_w_lghtsbr02",oPC,[color=darkorange]1[/color]); Link to comment Share on other sites More sharing options...
harIII Posted October 16, 2011 Author Share Posted October 16, 2011 Damn it, it still didn't do anything. However I also talked with Logan23 and it sounds like it may actually be a glitch with the actual game engine. I'll still experiment with it because it's an annoying glitch that shouldn't be occurring. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.