Page 1 of 1

A Trigger I tryed but it don't works ;o;

Posted: Fri Dec 19, 2008 11:02 am
by Tasper
I try a trigger yesterday about ... one unit respawn in ASDF region(example) and if an unit step on that region(Unit Type same as respawn) order to move to ASDF2 reg(no instaily(i dont find the action to move no instaily to a specific reg) ... it dont works when i tryed ;o; what is the trigger or triggers to do that work?

thx and cya ;o

P.S: sry my english ^^U

Re: A Trigger I tried but didn't work

Posted: Fri Dec 19, 2008 11:22 am
by 3ICE
t_uni Unit- Issue Order Targeting a Point (becomes) t_uni Unit - Order Unit to Move To (Center of Region)

Re: A Trigger I tryed but it don't works ;o;

Posted: Fri Dec 19, 2008 11:34 am
by Tasper
3ICE i posted the trigger i made, is that trigger good too work?

K here is the trigg I tryed:

t_tri RamdomSpawn
t_jm t_eve Events
t_lin t_jb t_tim Time - Every 3.00 seconds of game time
t_jm t_co Conditions
t_jbm t_act Actions
t_emp t_jb t_uni Unit - Create 1 Ice Troll for Player 12 (brown) at (Ramdom point in ASDF1 <gen>) facing (Position of (Triggering unit))

t_tri RamdomMove
t_jm t_eve Events
t_lin t_jb t_uni Unit - A unit enters ASDF1 <gen>
t_jm t_co Conditions
t_lin t_jb t_if (Unit-type of (Triggering unit)) Same as Ice Troll
t_jbm t_act Actions
t_emp t_jb t_ugr Unit Group - Order (Units in ASDF1 <gen>) to Move to (Ramdom point in ASDF2 <gen>)


this trigger i made is good? thx for help =)!

and another little problem, how many splash must have an X unit? :mrgreen:

Re: A Trigger I tried but didn't work

Posted: Fri Dec 19, 2008 4:09 pm
by 3ICE
I'll give you a list of errors with your triggers and then a correct solution to your problem.
  • facing (Position of (Triggering unit)) should be 0.00 (right) or 270.00 (down) instead. Don't use position of triggering unit, its stupid.
  • Unit Group - Order No way... It's going to be one unit, not a group. Use Unit - Order
  • (Units in ASDF1 <gen>) (Entering Unit) is better.
  • ASDF1 <gen> ASDF2 <gen> Descriptive variable names... SpawnRegion1 and TargetRegion1 / MoveToRegion1
  • ramdom its spelled as random
  • copying a trigger see: http://static.3ice.hu/images/CopyAsText.jpg
Final trigger is (Yes its one trigger):
3ICE's Periodic Spawn and Move Demo Trigger 3ICE's Periodic Spawn and Move Demo Trigger
     t_eve Events t_tim Time - Every 3.00 seconds of game time t_co Conditions t_act Actions t_uni Unit - Create 1 Ice Troll for Player 12 (Brown) at (Random point in SpawnRegion1 <gen>) facing 0.00 degrees t_uni Unit - Order (Last created unit) to Move To (Random point in TargetRegion1 <gen>)
EDIT:
Tasper wrote:and another little problem, how many splash must have an X unit? :mrgreen:
Yes.

Re: A Trigger I tried but didn't work

Posted: Fri Dec 19, 2008 5:50 pm
by Tasper
3ICE wrote: EDIT:
Tasper wrote:and another little problem, how many splash must have an X unit? :mrgreen:
Yes.
yes to what o.o how many splash must have a canon unit? xd and thx for all

Re: A Trigger I tried but didn't work

Posted: Sat Dec 20, 2008 4:19 pm
by 3ICE
Yes to the stupid question :) (Because you didn't say what kind of unit at first.)
Cannons are mortar teams with high damage, that's all. The default settings are fine, just add damage.

Re: A Trigger I tried but didn't work

Posted: Sat Dec 20, 2008 6:52 pm
by Tasper
3ICE wrote:Yes to the stupid question :) (Because you didn't say what kind of unit at first.)
Cannons are mortar teams with high damage, that's all. The default settings are fine, just add damage.
well i know its a stupid question but in a .... ..... destructor... i dont remember the name of the catapult of orcs :p
and thx -.-" lolz cya