ok screw it how do i make an animation sequence or set list that i can just tell the game to play so i dont have to go through and tell it each individual animation?
i know what a loop is i ment how would that help, the problem is i get loops alll the time the thing can do what i want but it will go through and do it one unit at a time i want the animations to play on all units simultaniously
If you loop through all units of a group and perform action X for each unit, the action X will be performed at the same time for all units. There will only be a delay if you insert a Wait call in your loop.
the thing is i am using pick each unit but it then goes throught and will do one unit at a time, and i tried making action definitions for it to run but they do nothing.
How about you tell us exactly, what you want to do and show us, how your triggers actually look like (you can post triggers here, for example), so we can actually come up with a working solution.
ok ill try to post them tonight, but the setup is basicly, there are 6 groups: terrunit, terrstruct, protunit, protstruct, zergunit, zergstruct containing predictable units structs etc, so for each group there is a trigger with a pick each unit in group function, then an ifthenmultiple statement with possible conditions for each unit or structure type in that race, then it is suppost to run the action defintion associated with that unit or struct.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
see below
ok screw it how do i make an animation sequence or set list that i can just tell the game to play so i dont have to go through and tell it each individual animation?
#1
loops#2
loopsloops? explain
@Flashburn283: Go
http://www.google.com/#hl=en&sugexp=kjrmc&cp=11&gs_id=2y&xhr=t&q=programing+loops&pq=loops&pf=p&sclient=psy-ab&source=hp&pbx=1&oq=programing+loops&aq=0&aqi=g1g-sx3&aql=f&gs_sm=&gs_upl=&bav=on.2,or.r_gc.r_pw.,cf.osb&fp=ef1c26239cc3b10b&biw=1680&bih=916
i know what a loop is i ment how would that help, the problem is i get loops alll the time the thing can do what i want but it will go through and do it one unit at a time i want the animations to play on all units simultaniously
im using the pick each unit in unit group code because the fore each unit in unit group always give me errors
If you loop through all units of a group and perform action X for each unit, the action X will be performed at the same time for all units. There will only be a delay if you insert a Wait call in your loop.
ok then how do i use the foreachunitingroup function cause every time i try i either get nothing or i get call error overload
Use "pick each unit" instead of "for each unit." For the unit, use (picked unit).
Also post your triggers if you are still having problems.
the thing is i am using pick each unit but it then goes throught and will do one unit at a time, and i tried making action definitions for it to run but they do nothing.
The only way to do that is to have each animation command running on its own thread, triggered by the same event in separate triggers.
wait so are you saying i need to have a trigger for each INDIVIUAL animation or each animation SEQUENCE?
Each individual action set.
How about you tell us exactly, what you want to do and show us, how your triggers actually look like (you can post triggers here, for example), so we can actually come up with a working solution.
ok ill try to post them tonight, but the setup is basicly, there are 6 groups: terrunit, terrstruct, protunit, protstruct, zergunit, zergstruct containing predictable units structs etc, so for each group there is a trigger with a pick each unit in group function, then an ifthenmultiple statement with possible conditions for each unit or structure type in that race, then it is suppost to run the action defintion associated with that unit or struct.