- Joined
- Jul 18, 2014
- Messages
- 8
So... i am trying to recreate the warpjump blink-like ability that you can use in the Heart of the Swarm campaign, in the mission With "Friends Like These...", and to do that i needed to use triggers. i copied them exactly from the campaign mission, and the ability from the Hyperion unit.
before i figured out that i needed to use triggers, the hyperion would just pop out of existience without playing the entering warpspace animation, and then play the exiting warpspace animation at a point somewhere near where i targetted.
when i put in the triggers, it entered warpspace, then popped into existience at the targetted point without playing the warpspace exit animation. I put a "attach model to unit" action in and it worked, except that the battlecruiser popped into existience and then the animation played ontop of it. since i cannot leave a non-perfect thing be, i banged my head against the wall for a little bit and then put a Hide Unit action in at the Prep stage and a Show Unit action after the Attach Model.
it made the battlecruiser warp pretty much randomly/inaccurately. i tinkered with it for a bit and when i put the Hide Unit in the Cast stage of the ability, it jumped to the location i wanted it to.
however the Show Unit action didnt wait for the model to finish playing, so i was right back where i started. i thought "simple!" and i put a Wait for 0.9 Game Time Seconds (because thats how long the animation was) action. then the cattle bruiser was warping randomly again
any ideas? pictures of my triggers and the ability (and its fields) are in the attachments
before i figured out that i needed to use triggers, the hyperion would just pop out of existience without playing the entering warpspace animation, and then play the exiting warpspace animation at a point somewhere near where i targetted.
when i put in the triggers, it entered warpspace, then popped into existience at the targetted point without playing the warpspace exit animation. I put a "attach model to unit" action in and it worked, except that the battlecruiser popped into existience and then the animation played ontop of it. since i cannot leave a non-perfect thing be, i banged my head against the wall for a little bit and then put a Hide Unit action in at the Prep stage and a Show Unit action after the Attach Model.
it made the battlecruiser warp pretty much randomly/inaccurately. i tinkered with it for a bit and when i put the Hide Unit in the Cast stage of the ability, it jumped to the location i wanted it to.
however the Show Unit action didnt wait for the model to finish playing, so i was right back where i started. i thought "simple!" and i put a Wait for 0.9 Game Time Seconds (because thats how long the animation was) action. then the cattle bruiser was warping randomly again
any ideas? pictures of my triggers and the ability (and its fields) are in the attachments
Attachments
-
Warpjump Ability.jpg579.8 KB · Views: 206
-
Hyperion's Warp ability.jpg595.3 KB · Views: 185
-
Warpjump Trigger #1.jpg272.8 KB · Views: 153
-
Warpjump Trigger #2.jpg256.3 KB · Views: 202
-
Warpjump Trigger #3.jpg387.6 KB · Views: 155
-
Warpjump Actor #1.jpg557 KB · Views: 182
-
Warpjump Actor #2.jpg539.8 KB · Views: 194
-
Warpjump Actor #3.jpg545.4 KB · Views: 141
-
Warpjump Behavior.jpg555.5 KB · Views: 156
-
Warpjump Button.jpg522 KB · Views: 143
-
Warpjump Effect #1.jpg519.4 KB · Views: 187
-
Warpjump Effect #2.jpg499.2 KB · Views: 143
-
Warpjump Effect #3.jpg492.5 KB · Views: 160
-
Warpjump Model (going into warpspace).jpg472.9 KB · Views: 169