A few questions

Status
Not open for further replies.
Level 2
Joined
Dec 25, 2008
Messages
11
I've just started playing around with the Trigger Editor, and I have two questions:

1. How do you make something happen to a unit type, but not a specific unit? I.e., all footmen, not footman 0032.

2. How do you make an action(s) loop over a few times? For example, if a want to create multiple corpses in region 000, I have to copy/paste the action Unit-create permanent corpse several times since it won't let me make multiple corpses through 1 action.
 
1. You use unit groups. You make a group hold all the units of a certain type by using the corosponding functions or natives to do so.

2. You use a loop structure to preform the same action until a condition is met. In your case I would recon you want it to create the corpse and also to add 1 to a counter so it knows when to stop looping.
 
Status
Not open for further replies.
Back
Top