Can use Teleport_NewMap after death
Moderator: GZDoom Developers
-
- Posts: 325
- Joined: Wed Aug 02, 2017 3:01 pm
- Location: Illinois
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.
-
- Posts: 678
- Joined: Mon Jan 16, 2006 8:53 pm
- Location: Rio de Janeiro - Brazil
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);
}
-
- Posts: 325
- Joined: Wed Aug 02, 2017 3:01 pm
- Location: Illinois
Re: Can use Teleport_NewMap after death
This works splendidly, Thank You !!