travnape Posted March 7, 2004 Share Posted March 7, 2004 I want to make a varried effect upon activation of an object depending on which item you have equipped. I can create the activator just like the propylon indexes work, but rather than the item being in the inventory I wanted to see if there is a condition for equipped items maybe a script set variable like onpcequip set variable to 1, 2 ,3, 4 etc depending on which item is being equipped and make an "if variable = #" command and make the action occur that way? if you think this will work let me know what variable category to use. Thanks only other question is how I can unset this variable or reset it to 0 when the item is unequipped. Also where in the editor can I find global location numbers (so I can relocate the player there upon the activation) Link to comment Share on other sites More sharing options...
Elgen Posted March 9, 2004 Share Posted March 9, 2004 Like this :huh: begin scripttest if ( onpcequip = 1 )set got"Insert Item Name"equip to 1 Link to comment Share on other sites More sharing options...
Marxist ßastard Posted March 14, 2004 Share Posted March 14, 2004 You must first declare OnPCEquip as a short variable. Also, I believe this can only be done with items that actually equip, such as weapons, armor, and clothing. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.