I'm having a problem, i need to make it so every time i want hurt my enemy I'm not having to press E every time so they take damage, the script for my damage thing is in my demo which you can download and look at. (the demo is on my page.) you can find the damage script in the storm troopers scripts.please give me some tips for fixing it. thanks for your time : -)
Offline
You are using a variable called 25, but its value is zero. Try this script:
when [e v] key pressed if <touching [jedi v]> wait (1) secs change [storm trooper health v] by (-25) end if <(storm trooper health) = (25)> switch to costume [dead v] wait (.5) secs hide end
Last edited by Spiro0 (2012-07-11 19:54:07)
Offline