
Posts
835
Respect
195Add +1
Forum Rank
The Decider
Primary Group
Mapper
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 released one or more maps to the UGX-Mods community. |
trigger_wait( "intrig1", "targetname" );
I am new at scripting.
But when i put my script in game it give me a bad syntax error for this: Code SnippetPlaintexttrigger_wait( "intrig1", "targetname" );
trigger waittill("NOTIFY HERE");
![]() | Has released one or more maps to the UGX-Mods community. |
That line is fine, its likely something either above or below that line thats causing the error.
Also, i don't think "trigger_wait" is an actual function. Do this: Code SnippetPlaintexttrigger waittill("NOTIFY HERE");
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
i replace trigger_wait with trigger waittill
but i still got the error

![]() | Has released one or more maps to the UGX-Mods community. |
Can you post a few lines above and a few lines below the actual line?
trigger waittill( "intrig1", "targetname" );
plat[i] moveto (level2.origin, time);
level.floor = 1;
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Code SnippetPlaintexttrigger waittill( "intrig1", "targetname" );
plat[i] moveto (level2.origin, time);
level.floor = 1;
plat[i] Code SnippetPlaintexttrigger waittill( "intrig1", "targetname" );
plat[i] moveto (level2.origin, time);
level.floor = 1;
Isdefined anywhere? Code SnippetPlaintextplat[i]
plat[i]
![]() | Has released one or more maps to the UGX-Mods community. |
#include maps\_utility;
#include common_scripts\utility;
#include maps\_zombiemode_utility;
main()
{
time = 30;
level.floor = 0;
intrig1 getEnt( intrig1, targetname );
outtrig1 getEnt( outtrig1, targetname );
intrig2 getEnt( intri2, targetname );
outtrig2 getEnt( outtrig2, targetname );
plat geEnt (plat, targetname);
level1 getEnt ( level1, targetname);
level2 getEnt ( level2, targetname
//intrig1
trigger waittill( "intrig1", "targetname" );
plat[i] moveto (level2.origin, time);
level.floor = 1;
//intrig2
trigger waittill( "intrig2", "targetname" );
plat[i] moveto (level1.origin, time);
level.floor = 0;
//outtrig1
trigger waittill( "outtrig1", "targetname" );
plat[i] moveto (level1.origin, time);
level.floor = 0;
//outtrig2
trigger waittill( "outtrig2", "targetname" );
plat[i] moveto (level2.origin, time);
level.floor = 1;
if( level.floor == 1 )
{
intrig1 enable_trigger();
intrig2 disable_trigger();
outtrig2 enable_trigger();
outtrig1 disable_trigger();
}
if( level.floor == 2 )
{
intrig2 enable_trigger();
intrig1 disable_trigger();
outtrig1 enable_trigger();
outtrig2 disable_trigger();
}
}

![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Here is my whole script i wrote by myselfs Code SnippetPlaintextlevel2 getEnt ( level2, targetname
You forgot the ); at the end

![]() | Has released one or more maps to the UGX-Mods community. |
Here is my whole script i wrote by myselfs Code SnippetPlaintextlevel2 getEnt ( level2, targetname
You forgot the ); at the end
i fixed that and go the same error
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
trigger waittill ("trigger");intrig1 waittill ("trigger");intrig2 waittill ("trigger");
![]() | Has released one or more maps to the UGX-Mods community. |
Is it on the same line? Or a different one.
also on the waittill it should be Code SnippetPlaintexttrigger waittill ("trigger");
trigger waittill( "intrig1", "targetname" );![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
on this line: Code SnippetPlaintexttrigger waittill( "intrig1", "targetname" );