Frictional Games Forum (read-only)

Full Version: Is it possible to teleport when enemy hits you?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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.
You use checkpoints without any death text. Player must die in order for this to work.
(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?
Collision?
(08-18-2011, 12:31 PM)Tanshaydar Wrote: [ -> ]Collision?

What you mean by the collision? Explain better to me.
Checking entity collision would help I thought.
(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?
addentitycollisiconcallback player enemy...
(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.
Erm, I thought you would take it as scripting.
Check out Amnesia files where player is taken down before being put in a cell.
Pages: 1 2