D
destructive
Guest
When the game starts I want all the no user controlled wisps to be removed. I tried using the tutorial on this site and it doesn't work. How do I do this? Thanks 
Rmove Wisps
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players matching (((Matching player) slot status) Equal to Is unused)) and do (Actions)
Loop - Actions
Unit Group - Pick every unit in (Units owned by (Picked player)) and do (Actions)
Loop - Actions
Unit - Kill (Picked unit)
That's the trigger in the tutorial. That is the one that doesn't work for me. I can't find the Actions section:the Lumpy said:Try this:
Code:Rmove Wisps Events Map initialization Conditions Actions Player Group - Pick every player in (All players matching (((Matching player) slot status) Equal to Is unused)) and do (Actions) Loop - Actions Unit Group - Pick every unit in (Units owned by (Picked player)) and do (Actions) Loop - Actions Unit - Kill (Picked unit)
Unit Group - Pick every unit in (Units of type Selector) and do (If ((((Owner of (Picked unit)) controller) Not equal to User) or (((Owner of (Picked unit)) slot status) Not equal to Is playing)) then do (Unit - Remove (Picked unit) from the game) else do (Do nothing))
Rad said:You must be using RoC, RoC doesnt have multiple action feature on groups or integers... try this action:
Code:Unit Group - Pick every unit in (Units of type Selector) and do (If ((((Owner of (Picked unit)) controller) Not equal to User) or (((Owner of (Picked unit)) slot status) Not equal to Is playing)) then do (Unit - Remove (Picked unit) from the game) else do (Do nothing))
Theres probrably an easier way but this should work for you
destructive said:I don't see the (Units of type Selector).
Units Of Type, using your Wisp unit as the type.destructive said:I don't see the (Units of type Selector).
This is how close I can get to what you all showed me:Duwenbasden said:Units of type <UNIT YOU WANT REMOVED>
Instead of using a Player Comparison, use an And with the first comparison a Player Controller comparison and the second a Player Slot Status comparison.destructive said:Anyone know how to fix it?