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 amIt works! awesome, thanks a lot dude.
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 they match maybe I'd need a while loop to tell the trigger to wait till current and desired weapon match??
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, and then check which weapon the player had at the time?
7 years ago
Loading ...
New version available!
All running pages of UGX-Mods need to be reloaded for your best experience. Be sure that you finish all your work before updating!