Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is it possible to teleport when enemy hits you?
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#17
RE: Is it possible to teleport when enemy hits you?

(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.

Tutorials: From Noob to Pro
08-18-2011, 09:29 PM
Website Find


Messages In This Thread
RE: Is it possible to teleport when enemy hits you? - by Your Computer - 08-18-2011, 09:29 PM



Users browsing this thread: 1 Guest(s)