Go down
Kiddrian
Kiddrian
SGM
SGM
Posts : 186
realm_1
Réputation : 0
Just requesting triggering help. Pp_mem10
Regist Date : 2007-01-27
http://freewebs.com/warcraftstarcraft

Just requesting triggering help. Empty Just requesting triggering help.

Sun 28 Jan 2007, 07:38
How can i make a tank work when a hero enters it
Is it this?
Code:
Events
Unit - A unit is loaded
Condition
Actions
If/Then/Else
Loop - Actions
Conditions
a Hero is loaded equal to true(more of it)
Actions
Unit - Change ownership of (unit) to (player)
Else Actions
Do Nothing
___
Is that something like it?
Sunny_D
Sunny_D
LTG
LTG
Posts : 1653
realm_1
Réputation : 3
Just requesting triggering help. Pp_adm10
Regist Date : 2006-02-04

Just requesting triggering help. Empty Re: Just requesting triggering help.

Sun 28 Jan 2007, 15:07
first, i think that you cant load into a vehicle that is not under your control. so you have to change owner before you load into. for example with a dummy spell that does nothing except selecting the target vehicle. then you can make a trigger like that (thats how we solved it in DotDS, so... it works ^^ ):

Code:
Load Vehicle
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to LoadVehicleDummySpell
        (Owner of (Target unit of ability being cast)) Equal to Neutral Passive
        (Unit-type of (Target unit of ability being cast)) Equal to MyVehicle
    Actions
        Set TempTriggeringUnit = (Triggering unit)
        Set TempTriggeringUnit2 = (Target unit of ability being cast)
        Unit - Change ownership of TempTriggeringUnit2 to (Owner of TempTriggeringUnit) and Change color
        Unit - Order TempTriggeringUnit2 to Stop
        Unit - Order TempTriggeringUnit2 to Load TempTriggeringUnit
Kiddrian
Kiddrian
SGM
SGM
Posts : 186
realm_1
Réputation : 0
Just requesting triggering help. Pp_mem10
Regist Date : 2007-01-27
http://freewebs.com/warcraftstarcraft

Just requesting triggering help. Empty Re: Just requesting triggering help.

Sun 28 Jan 2007, 21:00
Hmm, yes yes its good.
Sponsored content

Just requesting triggering help. Empty Re: Just requesting triggering help.

Back to top
Permissions in this forum:
You cannot reply to topics in this forum