🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!
Do you guys know how to make the dummies to spin around the caster while attached to the caster.The Problem is the dummies do not spin around but stays attached to the caster wherever he goes.
My Pic
Secondly, you can copy triggers from worldedit using right click -> copy as text (on the whole trigger), and paste it here in
tags.
Now on to the problem itself - your first 3 actions put the orbs in places relative to the caster, and then they get rotated one increment. When the next loop comes along, instead of being rotated another increment, they are first reset to their positions based on the caster.
What you should do is record each orb's angle as a variable, increase that every loop, and move it to a position from the caster using that variable.
So let's save everything into variables:
array unit variable - OrbUnit[]
array real variable - OrbAngle[]
When you cast the spell, you'll set
OrbUnit[1] = first orb
OrbUnit[2] = second orb
OrbUnit[3] = third orb
And
OrbAngle[1] = 0
OrbAngle[2] = 120
OrbAngle[3] = 240
Every loop of the spell, you
move OrbUnit[x] to position of caster offset by 300 towards OrbAngle[x]
and then set OrbAngle[x] = OrbAngle[x] + 10 (adjust the 10 for whatever speed you want)
NB: when OrbAngle[x] goes over 360, set it to OrbAngle[x] - 360, things can go funny when angles go above 360.
as i can see the trigger, youre really new to trigger editor
just take another spell here from hive similar to yours
and delete this trigger above!!! it creates sth around 600 leaks a second !!
Ehm... this is not MUI. Only one unit can cast this ability at the same time. I just wanted to make it clear, In case BUP want's this to be MUI, without knowing it isn't.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.