



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!function switch_2()
{
radius_trig = GetEnt("radius_trig2", "targetname");
switch_trig = GetEnt("switch_trig2", "targetname");
switch_trig SetHintString("Press and hold &&1 to connect Auxillary Power.");
switch_trig SetCursorHint("HINT_NOICON");
timer = 10;
radius_trig waittill("trigger", player);
switch_trig waittill("trigger", player);
if (timer > 0)
{
wait .5;
switch_trig setHintString("Connection in progress...");
wait timer;
}
switch_trig setHintString("Connection Re-established!");
level.switchesCompleted++;
DO OTHER STUFF....
}
u dnt wnt 2 no



Aye mate you don't know me so y don't you shut tf up ok buddy

![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() Box Mappers Elite | |
![]() | Has released one or more maps to the UGX-Mods community. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
void <entity> IsTouching(<other entity>)
[MANDATORY] <other entity> Entity.
CATEGORY:
CLIENT/SERVER: Server
SUMMARY: Returns true if <other entity> is touching <entity>
EXAMPLE: if( player IsTouching( e_goal_volume ) ) { //do something }