• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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