Looping Commands

gideonwilliams
21 May 2012, 21:36
I want to make a For If Loop type command. If the player picks up an object eg radioactive material then her health decreases by 10% every go or so until they drop it.

Any heklp very much appreciated

Pertex
22 May 2012, 06:31
Create a new turnscript in the take-script. In this turnscript decrease the health until the player is dead. And in the drop-script disable this turnscript or better destroy it completely

gideonwilliams
07 Jun 2012, 09:05
Many, many thanks. Not played with turnscripts yet so need to find tutorial.... :D