Frictional Games Forum (read-only)
How can I make that...? - 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: How can I make that...? (/thread-21466.html)



How can I make that...? - Slanderous - 05-12-2013

Hey guys.

How can I make monsters not disappear after killing player?

And sorry if there are any grammar mistakes.


RE: How can I make that...? - Romulator - 05-12-2013

You would use Checkpoints Smile
In order to use them, you would need to know how to script, or someone like JustAnotherPlayer will come along and type it for you since I have never had to use Checkpoints Smile


RE: How can I make that...? - Slanderous - 05-12-2013

(05-12-2013, 12:58 PM)ROMul8r Wrote: You would use Checkpoints Smile
In order to use them, you would need to know how to script, or someone like JustAnotherPlayer will come along and type it for you since I have never had to use Checkpoints Smile

Okay, i'm gonna search for this script, anyway thanks for help


RE: How can I make that...? - Romulator - 05-12-2013

(05-12-2013, 01:00 PM)lazz3r Wrote:
(05-12-2013, 12:58 PM)ROMul8r Wrote: You would use Checkpoints Smile

In order to use them, you would need to know how to script, or someone like JustAnotherPlayer will come along and type it for you since I have never had to use Checkpoints Smile



Okay, i'm gonna search for this script, anyway thanks for help

The Wiki Wrote:
PHP Code:
void CheckPoint (stringasNamestringasStartPosstringasCallbackstringasDeathHintCatstringasDeathHintEntry); 
Sets a checkpoint at which the player will respawn in case he dies.
Callback syntax: void MyFunc(string &in asName, int alCount)
Count is 0 on the first checkpoint load!
asName - the internal name
asStartPos - the name of the StartPos in the editor
asCallback - the function to call when the player dies/respawns
asDeathHintCat - the category of the death hint message to be used in the .lang file
asDeathHintEntry - the entry in the .lang file



RE: How can I make that...? - Slanderous - 05-12-2013

(05-12-2013, 01:02 PM)ROMul8r Wrote:
(05-12-2013, 01:00 PM)lazz3r Wrote:
(05-12-2013, 12:58 PM)ROMul8r Wrote: You would use Checkpoints Smile

In order to use them, you would need to know how to script, or someone like JustAnotherPlayer will come along and type it for you since I have never had to use Checkpoints Smile



Okay, i'm gonna search for this script, anyway thanks for help

The Wiki Wrote:
PHP Code:
void CheckPoint (stringasNamestringasStartPosstringasCallbackstringasDeathHintCatstringasDeathHintEntry); 
Sets a checkpoint at which the player will respawn in case he dies.
Callback syntax: void MyFunc(string &in asName, int alCount)
Count is 0 on the first checkpoint load!
asName - the internal name
asStartPos - the name of the StartPos in the editor
asCallback - the function to call when the player dies/respawns
asDeathHintCat - the category of the death hint message to be used in the .lang file
asDeathHintEntry - the entry in the .lang file

Thank you for help + rep


RE: How can I make that...? - PutraenusAlivius - 05-12-2013

Just to summarize R0Mul8r's post in case you have no clue,
PHP Code:
void CheckPoint ("""PlayerStartArea""Checkpoint""DeathHintCategory""DeathHintEntry"); //PlayerStartArea is the name of the area where you will respawn. Type must be PlayerStart! 



RE: How can I make that...? - Slanderous - 05-12-2013

(05-12-2013, 01:18 PM)JustAnotherPlayer Wrote: Just to summarize R0Mul8r's post in case you have no clue,
PHP Code:
void CheckPoint ("""PlayerStartArea""Checkpoint""DeathHintCategory""DeathHintEntry"); //PlayerStartArea is the name of the area where you will respawn. Type must be PlayerStart! 

And thank you!