• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Trigger Help

Status
Not open for further replies.
Level 4
Joined
Dec 3, 2007
Messages
117
Well, im tried to copy a spell and but there was a trigger i had to change :
  • Unit - Create 1 Unit for (Owner of (Triggering unit)) at BA_Points[22] facing (18.00 x (Real((Integer A)))) degrees
I need to change unit to my own unit but i dunno how to do the "(18.00 x (Real((Integer A)))) degrees" part, can someone clearly explain to me how to do it? Thanks~
 
Level 9
Joined
Jun 26, 2007
Messages
659
this part is the facing of the unit, integer A is a loop variable

this line is probably extracted from a trigger wich create a circle of 20 units in a loop, the loop make A going from 1 to 20, so the facing of units go from 18° to 20x18=360°.

what do you want to do with your trigger? a circle to? or a single unit? is its facing important? or not? is it has to be the same of something else? (like a caster unit?)
 
Status
Not open for further replies.
Top