Can use Teleport_NewMap after death

Sun Jul 25, 2021 5:32 pm

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

Sun Jul 25, 2021 5:58 pm

Sure you can, by so many ways!
Code:
Script "TesteDeath" DEATH
{
Delay(70);
ChangeLevel("Map02", 0, CHANGELEVEL_NOINTERMISSION, -1);
}

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.

Re: Can use Teleport_NewMap after death

Mon Jul 26, 2021 7:02 am

This works splendidly, Thank You !!