Thanks for the suggestion, I'll give it a try later on today. Cheers
7 years ago
[code]function switch_2()
{
radius_trig = GetEnt("radius_trig2", "targetname");
switch_trig = GetEnt("switch_trig2", "targetname");
switch_trig SetHintString("Press and hold &&1 to connect Auxillar...
{
radius_trig = GetEnt("radius_trig2", "targetname");
switch_trig = GetEnt("switch_trig2", "targetname");
switch_trig SetHintString("Press and hold &&1 to connect Auxillar...
7 years ago
Thanks a lot buddy. I'll give a go when I get home from work tonight. Much appreciated.
Double Post Merge: November 09, 2016, 09:45:20 am
It works! awesome, thanks a lot dude.
Double Post Merge: November 09, 2016, 09:45:20 am
It works! awesome, thanks a lot dude.
7 years ago
How would i go about checking for the weapon?
I've tried a few things like trying to define current weapon = player GetCurrentWeapon
and desired weapon = "raygun" and then maybe an if statement to check if current weapon and desired weapon match.
Then if th...
I've tried a few things like trying to define current weapon = player GetCurrentWeapon
and desired weapon = "raygun" and then maybe an if statement to check if current weapon and desired weapon match.
Then if th...
7 years ago
Hi, i'm trying to work out how to script a trigger_damage that only triggers when damaged by a particular weapon (eg. raygun or gravity spikes)
Is there a way to check for what weapon inflicted the damage on the trigger, or do I need to do something like wait for the trigger to trigger, an...
Is there a way to check for what weapon inflicted the damage on the trigger, or do I need to do something like wait for the trigger to trigger, an...
7 years ago