(08-18-2011, 09:52 PM)Acies Wrote: (08-18-2011, 09:29 PM)Your Computer Wrote: (08-18-2011, 09:19 PM)HumiliatioN Wrote: (08-18-2011, 06:29 PM)Acies Wrote: you could use the GetPlayerHealth(); and bind it to a variable. Then have a timer check after collision wheter that variable has been lowered.
Can you show me that script? I need this now! I dont know how to do this... Too confusing for me.
If you were to consider that method, you should take into consideration situations where the player is careless enough to hurt themselves (e.g. falling off tall platforms). You'd also have to take into consideration that enemy damage randomizes. It might one time take some damage off the user, take most damage off the user, or kill the user in one hit.
The falling would be an issue. At least if it wasn't an obvious spot from which the player fell, in that case you could place a script area at the bottom of the fall which redefines the health variable. The amount of damage the monster does would not matter, as any given difference would result in a teleport. The only issue would be death, but that could perhaps be solved by checkpoints?
There is not any falling. Just when "Bad Dream begins" I woke up hallway then monster begans to chase me then front and behind the monster doors are locked only way to teleport and survive is face the monster and I have "Full health and sanity" then One hit and WUMP teleport happens.
I dont know just how to script this one.