Frictional Games Forum (read-only)
Is it possible to teleport when enemy hits you? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Is it possible to teleport when enemy hits you? (/thread-9843.html)

Pages: 1 2


Is it possible to teleport when enemy hits you? - HumiliatioN - 08-18-2011

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.


RE: Is it possible to teleport when enemy hits you? - Your Computer - 08-18-2011

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


RE: Is it possible to teleport when enemy hits you? - HumiliatioN - 08-18-2011

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



RE: Is it possible to teleport when enemy hits you? - Tanshaydar - 08-18-2011

Collision?


RE: Is it possible to teleport when enemy hits you? - HumiliatioN - 08-18-2011

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

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


RE: Is it possible to teleport when enemy hits you? - Tanshaydar - 08-18-2011

Checking entity collision would help I thought.


RE: Is it possible to teleport when enemy hits you? - HumiliatioN - 08-18-2011

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


RE: Is it possible to teleport when enemy hits you? - Tanshaydar - 08-18-2011

addentitycollisiconcallback player enemy...


RE: Is it possible to teleport when enemy hits you? - HumiliatioN - 08-18-2011

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


RE: Is it possible to teleport when enemy hits you? - Tanshaydar - 08-18-2011

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