I am making a mod to allow the flag to be carried in certain vehicles, but in UT3 the scorpion has turbo boost. This to me is overpowered when someone has the flag while in the scorpion. How would I go about disabling the turbo option if you are in the vehicle with the flag.
I am a very novice coder so the more thorough of an explanation the better.
Or you could just put a boolean which sets itself to true when the player has the flag and false when he doesnt, and just check that with an if statement everytime the player wants to boost and just return false if the bool is true.
I'll be messing with this tomorrow and see what I can come with. I think putting in some sort of check would be best because I would like to have the turbo act normally for the user when they do not have the flag in the scorpion. I'd hate to have to disable the boost, but instead probably just make the scorpion not a flag carry vehicle... this is of course my last resort.