
Posts
200
Respect
54Add +1
Forum Rank
Mr. Elemental
Primary Group
Donator ♥
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!![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
main()
{
trigger = getEnt("test","targetname"); //Regular trigger
trigger thread hint(); //Threading the hint function
}
hint()
{
trig_hide = getEnt("hide","targetname"); //This is the trigger you are going to hide
trig_hide hide(); //This hides the trigger you want hidden till later
//Also the self is the trigger that you used in main to thread the hint function
self setCursorHint("HINT_NOICON"); //This make sure there is no hand icon if you don't want it remove this line
self setHintString("What you want hintstring to say"); //This is how you set a hintstring
self waittill("trigger", player);
iprintln("Unhiding trig_hide");
trig_hide show(); //This shows the trigger that you hid earlier in the code
}
trigger = getEnt("test","targetname"); //Regular trigger
if(!isDefined(trigger))
return;