

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!when you say your function do you mean a specific spot in the script? i have this at the bottom of my mapname.gsc
setup()
{
trigger = getEnt("test","targetname");
trigger setHintString("&&1 hintstring");
}
alright that took the syntax error away but the trigger doesnt have the use button option and it doesnt play the sound when i look at it is there something else i need to do?
thread setup();
maps\_zombiemode::main();
i put that line in and it doesnt give me an option to hold F or do anything when i look at it
alright so if i have this function
setup()
{
trigger = getEnt("test","targetname");
self setHintString("&&1 hintstring");
}
what would the KVP be on the trigger?
alright so i changed it to
setup()
{
trigger = getEnt("zk_eggtrig","targetname");
self setHintString("&&1 hintstring");
}
the trigger_use has "targetname" "zk_eggtrig" and the trigger doesnt do anything
so for example it would be like this?
setup()
{
trigger = getEnt("zk_eggtrig","targetname");
self setHintString("&&1 hintstring");
"trigger waittill("trigger");"
}
setup()
{
trigger = getEnt("zk_eggtrig","targetname");
self setHintString("&&1 hintstring");
trigger waittill("trigger");
}
and the "trigger" would be the sound file?
so what would i put to replace "trigger"?
all that line of code does is it stops the game from reading the next line until a player presses the use button in the radius of the trigger. Once its pressed the code will continue.