TomoAlien Posted August 22, 2008 I want to make a swich that lowers the lift with sector tag 2 only when player has a red skullkey. I don't know how to do it. Your help is appreciated. EDIT:Okay, i made it by myself. Please lock this thread. 0 Share this post Link to post
shinobi.cl Posted August 22, 2008 Then, post your solution :) It can help others. After all this thread will be queried by search engines sometime. 0 Share this post Link to post
TomoAlien Posted August 22, 2008 shinobi.cl said:Then, post your solution :) It can help others. After all this thread will be queried by search engines sometime. Okay, so there's the code:script 1 (void) { if (CheckInventory("Some_Key")) Place a action there. else print(s:"You need Some Key to use this thing."); }Instead of Some_Key you must type in: RedSkull - Red Skull BlueSkull - Blue Skull YellowSkull - Yellow Skull RedCard - Red Keycard BlueCard - Blue Keycard YellowCard - Yellow Keycard I hope this post helps somebody. 0 Share this post Link to post
Isle Posted August 22, 2008 you could also just use ACS_LockedExecute http://zdoom.org/wiki/ACS_LockedExecute 0 Share this post Link to post