Jump to content

Home

Problem with a Give Item Script


harIII

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...