I am new to SC2 scripting, but am an experienced programmer. I can't figure out this scripting. I have a mod, which I can apply to maps, and want to multiply the move speed of all units by a constant factor, like 2 for instance, so now all units (in the Data) are twice as fast, so all your starting workers and workers that you build would be twice as fast, including all other units. How can I get a script for this?
I found that, which gives a high level overview of what needs to happen, but I'm not familiar enough with the available functions to know what to replace, or what to pass in as parameters.
faster = only movespeed or faster = generally faster, if the later you can set globaltimescale in trigger actions, otherwise you have to manually add a behaviour to all units which increases their ms. or use catalog triggers to set their ms * 2 (could be easily done with a "unit created" event and then just use catalog actions to set the ms for owning player to ms of neutral player of the same unit * 2)
I am new to SC2 scripting, but am an experienced programmer. I can't figure out this scripting. I have a mod, which I can apply to maps, and want to multiply the move speed of all units by a constant factor, like 2 for instance, so now all units (in the Data) are twice as fast, so all your starting workers and workers that you build would be twice as fast, including all other units. How can I get a script for this?
http://www.sc2mapster.com/forums/development/galaxy-scripting-and-trigger-lib/7414-reqest-script-that-changes-all-units-size/
I found that, which gives a high level overview of what needs to happen, but I'm not familiar enough with the available functions to know what to replace, or what to pass in as parameters.
faster = only movespeed or faster = generally faster, if the later you can set globaltimescale in trigger actions, otherwise you have to manually add a behaviour to all units which increases their ms. or use catalog triggers to set their ms * 2 (could be easily done with a "unit created" event and then just use catalog actions to set the ms for owning player to ms of neutral player of the same unit * 2)
@FunkyUserName: Go
Only unit speed. How do I do a unit created event? Where?
here you go. fastest way, the trigger always runs whenever a unit is created but w/e
@FunkyUserName: Go
Thank you very much! I had 0 idea how to do this. I have learned now :)