I am a trigger guy as far as my first map....but now I'm working with my second map which I wanted to make most of it from the data editor....
which I'm not really expert on it.
I wanted to make an ability that changes a unit's weapon to another one using data editor. This will be triggered via command card button also made
from data editor which I already know how.
A simple weapon change is pretty straightforward. Am I to assume you already have an ability that your unit has/can learn?
For an ability you need, of course, an ability. And you need whatever buttons you want for accessing it. You'll have to play with the ability's command card as well as the unit's to get it turning on and off if it's an active ability.
From there, I would just make a behaviour, type buff, and under behaviour modifications you can edit the weapons tab. Although any of the tables are usable, for some reason the middle one, turret/weapon, works best in my experience. Just put any old turret in there, didn't seem to matter, and then pick the weapon item you want to switch to.
As long as the behaviour buff is active, your unit should now switch to whatever weapon you chose. Once the buff is done, the unit should switch back to its default weapon.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi.......
I am a trigger guy as far as my first map....but now I'm working with my second map which I wanted to make most of it from the data editor....
which I'm not really expert on it.
I wanted to make an ability that changes a unit's weapon to another one using data editor. This will be triggered via command card button also made
from data editor which I already know how.
Thanks!
A simple weapon change is pretty straightforward. Am I to assume you already have an ability that your unit has/can learn?
For an ability you need, of course, an ability. And you need whatever buttons you want for accessing it. You'll have to play with the ability's command card as well as the unit's to get it turning on and off if it's an active ability.
From there, I would just make a behaviour, type buff, and under behaviour modifications you can edit the weapons tab. Although any of the tables are usable, for some reason the middle one, turret/weapon, works best in my experience. Just put any old turret in there, didn't seem to matter, and then pick the weapon item you want to switch to.
As long as the behaviour buff is active, your unit should now switch to whatever weapon you chose. Once the buff is done, the unit should switch back to its default weapon.