Posts
40
Respect
Forum Rank
Legless Crawler
Primary Group
Member
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 shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
Hey guys!
Question is as the title says it. I was wondering how to write a line of script that makes it so you have to use only the bowie knife in order to enable a trigger damage? I am wanting the player to have to cut a chord in the map, but I want it so that only the bowie knife can cut the chord. Any help would be much appreciated!
I don't know how it works in bo3 but I know how to do it in waw.
In code you have to get the trigger, when the trigger fires you have to check which weapon that player is holding. If it is the weaponName bowie knife you can let him do the rest of the code.
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
Okay, what you are saying makes sense however my knowledge on how to write code isn't the greatest. What would a line of code look like that would "check which weapon the player is holding"?
This is how you can do it in Cod World at War