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?
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#12
RE: Is it possible to teleport when enemy hits you?

AddEntityCollideCallback("Player", "Monster", "Func01", false, 1);

void Func01(string &in asParent, string &in asChild, int alState)
{
Giveplayerdamage....
fadeout...
TeleportPlayer...
}


Is that clear enough? This is a simple workaround and needs some work to be polished.

(This post was last modified: 08-18-2011, 02:56 PM by Tanshaydar.)
08-18-2011, 02:56 PM
Website Find


Messages In This Thread
RE: Is it possible to teleport when enemy hits you? - by Tanshaydar - 08-18-2011, 02:56 PM



Users browsing this thread: 1 Guest(s)