
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. |

ray_steps()
{
// Setting Up Triggers
trigger_one = getent("s_one", "targetname");
trigger_one sethintstring(" Press and hold &&1 for Ray Gun ");
trigger_one setCursorHInt( "HINT_NOICON" );
trigger_two = getent("s_two", "targetname");
trigger_two sethintstring("");
trigger_two setCursorHInt( "HINT_NOICON" );
trigger_three = getent("s_three", "targetname");
trigger_three sethintstring("");
trigger_three setCursorHInt( "HINT_NOICON" );
trigger_four = getent("s_four", "targetname");
trigger_four sethintstring("");
trigger_four setCursorHInt( "HINT_NOICON" );
trigger_five = getent("s_five", "targetname");
trigger_five sethintstring(" Press and hold &&1 for Ray Gun ");
trigger_five setCursorHInt( "HINT_NOICON" );
// Hiding|Disabling Triggers
trigger_two Hide();
trigger_two disable_trigger();
trigger_three Hide();
trigger_three disable_trigger();
trigger_four Hide();
trigger_four disable_trigger();
trigger_five Hide();
trigger_five disable_trigger();
// Trigger One
trigger_one waittill("trigger", player);
iprintln("Trying To get the Ray Gun, Shoot Sam for the Ray Gun");
trigger_one delete();
// Enable Trigger Two
trigger_two Show();
trigger_two enable_trigger();
// Trigger Two
trigger_two waittill("trigger", player);
iprintln("Its in the Box next Phd");
trigger_two delete();
// Enable Trigger Three
trigger_three Show();
trigger_three enable_trigger();
// Trigger Three
trigger_three waittill("trigger", player);
iprintln("Ha Ha, Not here, Ill give it to you if you if you shoot that female, she is sitting on the couch");
trigger_three delete();
// Enable Trigger Four
trigger_four Show();
trigger_four enable_trigger();
// Trigger Four
trigger_four waittill("trigger", player);
iprintln("Good Job, Go get the Ray Gun its in the filing cabinate.");
trigger_four delete();
// Enable Trigger Five
trigger_five Show();
trigger_five enable_trigger();
// Trigger Five
trigger_five waittill("trigger", player);
iprintln("Here ya go - Pashan");
{
current_weapon = players getCurrentWeapon();
weapon_list = players GetWeaponsListPrimaries();
if(isdefined(current_weapon) && weapon_list.size > 1)
{
players TakeWeapon( current_weapon );
}
players GiveWeapon( "ray_gun" );
players SwitchToWeapon( "ray_gun" )
}
trigger_five delete();
}
dosn't sethintstring make if so when your near the trigger it will display a little message
then thing i want is a message to show up after i use the trigger (like an objective thing on the top left corner)
iprintln("Text");trigger waittill("trigger", player);
player iprintln("You just pressed that button");