Can use Teleport_NewMap after death
Moderator: GZDoom Developers
Can use Teleport_NewMap after death
I wanted to do a Teleport_NewMap after death from a script library so it could easily be used on every level.
Re: Can use Teleport_NewMap after death
Sure you can, by so many ways!
This code Teleport You to Map02 after dies! However, i think you need a more complex script for that. Some (ACS) Int Global variable to set the Map to go when you die works better with ACS_NamedExecute Decorate Death State.
Code: Select all
Script "TesteDeath" DEATH
{
Delay(70);
ChangeLevel("Map02", 0, CHANGELEVEL_NOINTERMISSION, -1);
}
Re: Can use Teleport_NewMap after death
This works splendidly, Thank You !!