• 🏆 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!

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