HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger help: Summoned unit move away from summoner, to summoners' point of facing?

10-22-2004, 03:52 PM#1
GreyArchon
See title. I'm trying to accomplish this, but it's a tad harder than I imagined. I based a spell off of Serpent Ward, so you have some control as to where the caster is facing, but the trigger I have sofar doesn't work.

How do I trigger a summoned unit,
to move away from the summoner,
under the angle (towards the direction) which the summoner is facing?

Any help greatly appreciated. And shiny rep points. Shiiiny. :O
10-22-2004, 04:01 PM#2
-={tWiStÄr}=-
Polar projection. what this function does is takes an angle, a distance and a starting point. then it will move the distance away from the starting point at the angle. it then creates a point there. you can do whatever you want with this point (like order a unit to move to it) are you give the unit Aloc or anything to make it unselectable? cause it sounds like you should.
10-22-2004, 04:05 PM#3
GreyArchon
Quote:
Originally Posted by -={tWiStÄr}=-
Polar projection. what this function does is takes an angle, a distance and a starting point. then it will move the distance away from the starting point at the angle. it then creates a point there. you can do whatever you want with this point (like order a unit to move to it) are you give the unit Aloc or anything to make it unselectable? cause it sounds like you should.

I'm giving it locust, yes. Does this solution take 'math' actions to make it happen? I've got a great disliking for those. Nevertheless, I'll try it out right away.
10-22-2004, 04:28 PM#4
-={tWiStÄr}=-
no i dont think its math.. its point with polar offset.
10-22-2004, 07:48 PM#5
GreyArchon
It's still not doing exactly what I had hoped for, but this helped me along pretty well. Have a rep point, ol' bean.
10-23-2004, 07:06 AM#6
n7r3x
if i'm right, you should change the model of your serpant ward to none.mdl, then duration for the ward = 1.00 sec

then
Events > Unit - Generic Unit Event
Unit - Spawns a summoned unit

Conditions > Unit-Type Comparison
Unit-type of Summoned unit Equal to Serpert Ward (edited)

Actions >
Create 1 (whatever it is you want) for Owner of Summoning unit at Position of Summoning unit facing Position of Summoned unit
Order Last Created Unit to Move To Position of Summoned unit
(to move to point of target/issued order)

or
Order Summoning unit to Hold Position
Create 1 (whatever it is you want) for Owner of Summoning unit at Position of Summoning unit facing Position of Summoned unit
Order Last Created Unit to Move To Position of Summoned unit offset by (how far you want) towards Facing of Summoning Unit degrees
(to move beyond point of target/issued order)

if this doesn't help send me your map or tell me more details on why you need this trigger what does it do, its effects etc.