I have three inventory items scripted so that all they do is activate the respective bin when you press the button, and deactivate it when you release the button.
they work fine by themselves, but when i try to press more than one at a time, only one will be deactivated upon releasing them--the one I released first.
this is what the cogs look like.
It must be getting confused when so many deactivated messages get called or something.
------------------
I'm just an old man with a skooma problem.
they work fine by themselves, but when i try to press more than one at a time, only one will be deactivated upon releasing them--the one I released first.
Code:
# Jedi Knight Cog Script # # ITEM_BACTA.COG # # INVENTORY script - Combo Button 1 # # [GB] # # #==============================================================# symbols thing player message activated message deactivated end #==============================================================# code #------------------------------------------------------ activated: player = GetSourceRef(); SetInvActivated(player, 40, 1); Return; #------------------------------------------------------ deactivated: SetInvActivated(player, 40, 0); Return; #------------------------------------------------------ end
this is what the cogs look like.
It must be getting confused when so many deactivated messages get called or something.
------------------
I'm just an old man with a skooma problem.
I'm just an old man with a skooma problem.