Frictional Games Forum (read-only)

Full Version: Enemy respawn?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Okay, so on my map I want the player to be able to be killed by two monsters, but I also want the player to be able to lure them out on a bridge, so they fall down and die. I have fixed that scripting, and everything works fine. But if the player gets killed by the monsters, they will despawn... And they are needed to go further. So my question is if it is possible to make an enemy respawn just like you, when you die?
Or rather, how do I stop an enemy from despawning after you die?
Is there any way to do this?
I think that it is hard-coded.
(02-23-2013, 02:31 PM)JustAnotherPlayer Wrote: [ -> ]I think that it is hard-coded.

I don't mind. As long as someone can tell me how.
Maybe you can work with CreateDataCache. I dont know exactly how it works, but with a checkpoint it migth work somehow. I dont know how though :/
(02-23-2013, 02:47 PM)tonitoni1998 Wrote: [ -> ]Maybe you can work with CreateDataCache. I dont know exactly how it works, but with a checkpoint it migth work somehow. I dont know how though :/

Doesn't matter if you know how to do it 100%. I'm glad your trying to help anyway. Wink
Creating an checkpoint should do it.

Code:
CheckPoint (string& asName, string& asStartPos, string& asCallback, string& asDeathHintCat, string& asDeathHintEntry);
(02-23-2013, 02:56 PM)Smoke Wrote: [ -> ]Creating an checkpoint should do it.

Code:
CheckPoint (string& asName, string& asStartPos, string& asCallback, string& asDeathHintCat, string& asDeathHintEntry);

Oh? In that case, it should be quite simple. Thanks for helping!
(02-23-2013, 02:59 PM)Kirbypwnage Wrote: [ -> ]
(02-23-2013, 02:56 PM)Smoke Wrote: [ -> ]Creating an checkpoint should do it.

Code:
CheckPoint (string& asName, string& asStartPos, string& asCallback, string& asDeathHintCat, string& asDeathHintEntry);

Oh? In that case, it should be quite simple. Thanks for helping!

Click this for more help with commands.
Hmm. No, a checkpoint does not work. I respawn where I want to and everything is good, but the monsters are still gone.
Could you give us the script?
Pages: 1 2 3