UGX-Mods
Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: Zandorum on August 17, 2014, 10:21:12 pm
-
I've wanted to make a new machine that requires power but costs 15,000 to use and moves every time you use it. It would increase the maximum amount of perks you can hold by 1 until you hit 7. The problem is I have no idea how to do this due to my lack of knowledge of scripting for WaW. If anyone could direct me to a scripting tutorial I'm sure I could pickup the language very quickly as well as understand how to put it into my map.
-
Just follow the code done in _zombiemode_perks, all you have to do is make a couple of points in radiant for the machine and then randomly select minus the one you're in. (So something like getEntArray and then array_remove the current location.)