User Tools

Site Tools


Sidebar

hpl2:tutorials:scripting:checkpoints_using_scriptarea_s

Checkpoints using ScriptArea's

1. make a ScriptArea large enough for the player to walk through.

I named mine “ScriptArea_1”

5tz860.jpg

2. create a PlayerStartArea this time I name mine “PlayerStartArea_1”

as for the script:

and as for the .LANG file

<LANGUAGE>
<CATEGORY Name=“DeathCategory”>

<Entry Name=“Deathtext”>Text you want in the black screen after you die </Entry>
</CATEGORY>

</LANGUAGE>

Now if you die you respawn at the PlayerStartArea you created.


hpl2/tutorials/scripting/checkpoints_using_scriptarea_s.1347792051.txt.gz · Last modified: 2012/09/16 10:40 by steve