Validators are kinda weird. Make sure you try "Unit is NOT casting <ability>" too, because for some reason you need to use opposites at times for them to work.
Click "Abilities+", I'll use Psi Storm here. Give your unit the Psi Storm ability, press P on the dropdown to cycle to the P section and search for it there.
Next click "Commands+", just beneath Abilities+. Select the tab you want the ability to appear in. If there's already an ability there, click on it. It will appear in a box below the command card tab. Just hit delete and it's gone. If you're wanting to use a fresh slot, click it and then look at the box beneath. There will be a green X sign. Press that. You'll add the new element, and be prompted to select a button for your ability first. Search for "Storm" and hit Psi Storm button.
Next, the 4 boxes beneath will light up. Ignore the first 2. The 3rd box down has a drop down menu. Open that up, and Psi Storm will be there. Press that. The 4th box should automatically convert to Psi Storm too, but if it doesn't, then add it manually. It should be the only option anyway.
I love the data editor. I really do. There's little I find that it can't do, but this, I've yet to find a solution.
I've found a decent(ish) solution, though. Make a behaviour. Give it a damage responce. Make the damage responce "Handled" effect be an Issue Order effect. The Issue Order effect's order is simply "Stop".
If the unit has this behaviour, any time it is attacked, it will stop. This will stop movement or casting. There's no way I've found to apply a behaviour at the cast start, but you can do this using triggers. Just ensure you remove the behaviour after the cast too or if the cast is cancelled, because as I said it will also cancel move orders. There might be a better solution using validatiors, I'll take a look later.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Validators are kinda weird. Make sure you try "Unit is NOT casting <ability>" too, because for some reason you need to use opposites at times for them to work.
Sorry for taking this offtopic, but yeah.
Click "Abilities+", I'll use Psi Storm here. Give your unit the Psi Storm ability, press P on the dropdown to cycle to the P section and search for it there.
Next click "Commands+", just beneath Abilities+. Select the tab you want the ability to appear in. If there's already an ability there, click on it. It will appear in a box below the command card tab. Just hit delete and it's gone. If you're wanting to use a fresh slot, click it and then look at the box beneath. There will be a green X sign. Press that. You'll add the new element, and be prompted to select a button for your ability first. Search for "Storm" and hit Psi Storm button.
Next, the 4 boxes beneath will light up. Ignore the first 2. The 3rd box down has a drop down menu. Open that up, and Psi Storm will be there. Press that. The 4th box should automatically convert to Psi Storm too, but if it doesn't, then add it manually. It should be the only option anyway.
I love the data editor. I really do. There's little I find that it can't do, but this, I've yet to find a solution.
I've found a decent(ish) solution, though. Make a behaviour. Give it a damage responce. Make the damage responce "Handled" effect be an Issue Order effect. The Issue Order effect's order is simply "Stop".
If the unit has this behaviour, any time it is attacked, it will stop. This will stop movement or casting. There's no way I've found to apply a behaviour at the cast start, but you can do this using triggers. Just ensure you remove the behaviour after the cast too or if the cast is cancelled, because as I said it will also cancel move orders. There might be a better solution using validatiors, I'll take a look later.