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?
HumiliatioN Offline
Posting Freak

Posts: 1,179
Threads: 64
Joined: Dec 2010
Reputation: 18
#1
Is it possible to teleport when enemy hits you?

Yes. Is this possible... like when enemy is chasing you then he hits you...

then you teleport somewhere else like a flashback...

Can you tell me script if you know it's possible.

Thanks.

“Life is a game, play it”
08-18-2011, 11:28 AM
Find
Your Computer Offline
SCAN ME!

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

You use checkpoints without any death text. Player must die in order for this to work.

Tutorials: From Noob to Pro
08-18-2011, 11:58 AM
Website Find
HumiliatioN Offline
Posting Freak

Posts: 1,179
Threads: 64
Joined: Dec 2010
Reputation: 18
#3
RE: Is it possible to teleport when enemy hits you?

(08-18-2011, 11:58 AM)Your Computer Wrote: You use checkpoints without any death text. Player must die in order for this to work.

Nope. I dont want to die just one hit and I teleport somewhere? This is not possible?

“Life is a game, play it”
08-18-2011, 12:29 PM
Find
Tanshaydar Offline
From Beyond

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

Collision?

08-18-2011, 12:31 PM
Website Find
HumiliatioN Offline
Posting Freak

Posts: 1,179
Threads: 64
Joined: Dec 2010
Reputation: 18
#5
RE: Is it possible to teleport when enemy hits you?

(08-18-2011, 12:31 PM)Tanshaydar Wrote: Collision?

What you mean by the collision? Explain better to me.

“Life is a game, play it”
08-18-2011, 12:37 PM
Find
Tanshaydar Offline
From Beyond

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

Checking entity collision would help I thought.

08-18-2011, 12:39 PM
Website Find
HumiliatioN Offline
Posting Freak

Posts: 1,179
Threads: 64
Joined: Dec 2010
Reputation: 18
#7
RE: Is it possible to teleport when enemy hits you?

(08-18-2011, 12:39 PM)Tanshaydar Wrote: Checking entity collision would help I thought.

How I check it and can you show me example?

“Life is a game, play it”
08-18-2011, 12:42 PM
Find
Tanshaydar Offline
From Beyond

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

addentitycollisiconcallback player enemy...

08-18-2011, 12:50 PM
Website Find
HumiliatioN Offline
Posting Freak

Posts: 1,179
Threads: 64
Joined: Dec 2010
Reputation: 18
#9
RE: Is it possible to teleport when enemy hits you?

(08-18-2011, 12:50 PM)Tanshaydar Wrote: addentitycollisiconcallback player enemy...

I can't find that can you send me some pictures or something.. Sorry I'm confused.

“Life is a game, play it”
08-18-2011, 01:22 PM
Find
Tanshaydar Offline
From Beyond

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

Erm, I thought you would take it as scripting.
Check out Amnesia files where player is taken down before being put in a cell.

08-18-2011, 01:26 PM
Website Find




Users browsing this thread: 1 Guest(s)