Posts
76
Respect
Forum Rank
Rotting Walker
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
create a trigger_multiple and give it a targetname e.g. "tp_first_room"
add a script_origin and give it a targetname e.g. "nacht_spawn"
add this under maps\_zombiemode::main(); in your mapname.gsc
add this function at the button of the file
To add a new tp to the script you only have to add the new trigger and the new script_origin into the first function like this
I think it's not too hard to understand how you add new teleporters.
If you have more questions just ask.
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
I LOVE YA MAN CAN I PLAY THE REVELATIONS FX FOR THE TELEPORTER DOORS
create a trigger_multiple and give it a targetname e.g. "tp_first_room"
add a script_origin and give it a targetname e.g. "nacht_spawn"
add this under maps\_zombiemode::main(); in your mapname.gsc
add this function at the button of the file
To add a new tp to the script you only have to add the new trigger and the new script_origin into the first function like this
I think it's not too hard to understand how you add new teleporters.
If you have more questions just ask.
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
also I done exactly what u said and when I step in the trigger multiple on my map it doesn't teleport me at all it does nothing are u sure I would use a trigger multiple
I'm pretty sure. I haven't tested the script because i'm not at home. You can try this out and see how it works: And CHANGE your script_origin to a script_struct
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
do I replace this :
rev_teleporter()
{
tp_trigger_spawn_room = getEnt ("tp_first_room","targetname"); //Define the Teleporter-Trigger
nacht_spawn = getEnt ("nacht_spawn","targetname"); //Define the Spawnpoint
thread teleporter_on(tp_trigger_spawn_room,nacht_spawn); //Thread the tp function with both
}
With This :
rev_teleporter()
{
tp_trigger_spawn_room = getEnt ( "tp_first_room" , "targetname" ); //Define the Teleporter-Trigger
spawn = getstruct ( "nacht_spawn" , "targetname" );
tp _trigger_spawn_room waittill ("trigger", who);
who setOrigin (spawn.origin);
}
I'm pretty sure. I haven't tested the script because i'm not at home. You can try this out and see how it works: And CHANGE your script_origin to a script_struct
Yes and you can uncomment the telepoter_on () function for now untill it works.
Yes and you can uncomment the telepoter_on () function for now untill it works.
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
there is a space in the name: there is tp _trigger... instead off tp_trigger...
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
i'll send you the working script tomorrow after i tested it, ok?
i'll send you the working script tomorrow after i tested it, ok?
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
could u do it now please I need it by tonight
IM BEGGING YOU
Sry men. Currently im too tired to think about the problem. I have to sleep a bit and then i will send you the script instantly.