HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

help me

11-01-2007, 07:32 AM#1
FOX_84killer
I was wondering how do i like make units bigger (or buildens) I just need help with how do you make units go where they are told ( like a rally point ) i need help with them ave been looking around m e and couldent understand even with the music, sound, costom can some one tell mei relly what to know.. help?
11-01-2007, 08:43 AM#2
FOX_84killer
guys i have just figured out to make units bigger but pls help me with how you make the units like a rally point. like on when illenden runs to this aouther world with the blood elvs when they ceep coming when you need to recuce him like that pls tell me how.. thats th only thing.
11-01-2007, 01:42 PM#3
Vexorian
You are gonna have to explain it better, I don't really know what you want to do.
11-02-2007, 12:59 AM#4
Mystic Prophet
I think what he wants is a way to trigger movement commands. For example, when Illidan is trapped inside the caravan by the warden.

I believe a simple order unit to move to (point) would work as the action.
11-02-2007, 06:58 AM#5
FOX_84killer
I will say it like this wey. like in herowars or dota like that with the units when they go to the aouther peoples base, like that.
11-02-2007, 12:27 PM#6
moyack
Ahh, you want to know how to make computer units move from one point to another.

check this link: http://world-editor-tutorials.thehel...php?view=15516

In that tutorial, there are some code boxes with the triggers in code format, they should look in this way:

Hidden information:
Quote:
Originally Posted by AI - Basics and Triggers, Spawn and movement points
Spawning:
Collapse Events
Time - Every 60.00 seconds of game time
Conditions
Collapse Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Execution count of (This trigger)) Equal to 1
Collapse Then - Actions
Unit - Create 1 Child of the Sun for Player 6 (Orange) at (Center of Spawn 1 top <gen>) facing Default building facing (270.0) degrees
Set AI_Heroes_Player6[1] = (Last created unit)
Unit - Create 1 Child of the Sun for Player 6 (Orange) at (Center of Spawn 1 middle <gen>) facing Default building facing (270.0) degrees
Set AI_Heroes_Player6[2] = (Last created unit)
Unit - Create 1 Child of the Sun for Player 6 (Orange) at (Center of Spawn 1 bottom <gen>) facing Default building facing (270.0) degrees
Set AI_Heroes_Player6[3] = (Last created unit)
Unit - Create 1 Shadow Hunter for Player 6 (Orange) at (Center of Spawn 1 top <gen>) facing Default building facing (270.0) degrees
Set AI_Heroes_Player6[4] = (Last created unit)
Unit - Create 1 Shadow Hunter for Player 6 (Orange) at (Center of Spawn 1 middle <gen>) facing Default building facing (270.0) degrees
Set AI_Heroes_Player6[5] = (Last created unit)
Unit - Create 1 Shadow Hunter for Player 6 (Orange) at (Center of Spawn 1 bottom <gen>) facing Default building facing (270.0) degrees
Set AI_Heroes_Player6[6] = (Last created unit)
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Execution count of (This trigger)) Equal to 1
Collapse Then - Actions
Unit - Create 1 Death Knight for Player 12 (Brown) at (Center of Spawn 2 top <gen>) facing Default building facing (270.0) degrees
Set AI_Heroes_Player12[1] = (Last created unit)
Unit - Create 1 Death Knight for Player 12 (Brown) at (Center of Spawn 2 middle <gen>) facing Default building facing (270.0) degrees
Set AI_Heroes_Player12[2] = (Last created unit)
Unit - Create 1 Death Knight for Player 12 (Brown) at (Center of Spawn 2 bottom <gen>) facing Default building facing (270.0) degrees
Set AI_Heroes_Player12[3] = (Last created unit)
Unit - Create 1 Lich for Player 12 (Brown) at (Center of Spawn 2 top <gen>) facing Default building facing (270.0) degrees
Set AI_Heroes_Player12[4] = (Last created unit)
Unit - Create 1 Lich for Player 12 (Brown) at (Center of Spawn 2 middle <gen>) facing Default building facing (270.0) degrees
Set AI_Heroes_Player12[5] = (Last created unit)
Unit - Create 1 Lich for Player 12 (Brown) at (Center of Spawn 2 bottom <gen>) facing Default building facing (270.0) degrees
Set AI_Heroes_Player12[6] = (Last created unit)
Else - Actions
-------- Team 1 spawn --------
Unit - Create 2 Spawn_Type[1] for Player 6 (Orange) at (Center of Spawn 1 top <gen>) facing Default building facing (270.0) degrees
Unit - Create 2 Spawn_Type[1] for Player 6 (Orange) at (Center of Spawn 1 middle <gen>) facing Default building facing (270.0) degrees
Unit - Create 2 Spawn_Type[1] for Player 6 (Orange) at (Center of Spawn 1 bottom <gen>) facing Default building facing (270.0) degrees
Unit - Create 2 Rifleman for Player 6 (Orange) at (Center of Spawn 1 top <gen>) facing Default building facing (270.0) degrees
Unit - Create 2 Rifleman for Player 6 (Orange) at (Center of Spawn 1 middle <gen>) facing Default building facing (270.0) degrees
Unit - Create 2 Rifleman for Player 6 (Orange) at (Center of Spawn 1 bottom <gen>) facing Default building facing (270.0) degrees
-------- Team 2 spawn --------
Unit - Create 2 Spawn_Type[2] for Player 12 (Brown) at (Center of Spawn 2 top <gen>) facing Default building facing (270.0) degrees
Unit - Create 2 Spawn_Type[2] for Player 12 (Brown) at (Center of Spawn 2 middle <gen>) facing Default building facing (270.0) degrees
Unit - Create 2 Spawn_Type[2] for Player 12 (Brown) at (Center of Spawn 2 bottom <gen>) facing Default building facing (270.0) degrees
Unit - Create 2 Burning Archer for Player 12 (Brown) at (Center of Spawn 2 top <gen>) facing Default building facing (270.0) degrees
Unit - Create 2 Burning Archer for Player 12 (Brown) at (Center of Spawn 2 middle <gen>) facing Default building facing (270.0) degrees
Unit - Create 2 Burning Archer for Player 12 (Brown) at (Center of Spawn 2 bottom <gen>) facing Default building facing (270.0) degrees

Movement from Spawn:
Collapse Events
Unit - A unit enters Spawn 1 top <gen>
Unit - A unit enters Spawn 1 middle <gen>
Unit - A unit enters Spawn 1 bottom <gen>
Unit - A unit enters Spawn 2 top <gen>
Unit - A unit enters Spawn 2 middle <gen>
Unit - A unit enters Spawn 2 bottom <gen>
Collapse Conditions
Collapse Or - Any (Conditions) are true
Collapse Conditions
(Owner of (Entering unit)) Equal to Player 6 (Orange)
(Owner of (Entering unit)) Equal to Player 12 (Brown)
Collapse Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Owner of (Entering unit)) Equal to Player 6 (Orange)
(Spawn 1 top <gen> contains (Entering unit)) Equal to True
Collapse Then - Actions
Unit - Order (Entering unit) to Attack-Move To (Center of Move top <gen>)
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Owner of (Entering unit)) Equal to Player 6 (Orange)
(Spawn 1 middle <gen> contains (Entering unit)) Equal to True
Collapse Then - Actions
Unit - Order (Entering unit) to Attack-Move To (Center of Spawn 2 middle <gen>)
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Owner of (Entering unit)) Equal to Player 6 (Orange)
(Spawn 1 bottom <gen> contains (Entering unit)) Equal to True
Collapse Then - Actions
Unit - Order (Entering unit) to Attack-Move To (Center of Move bottom <gen>)
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Owner of (Entering unit)) Equal to Player 12 (Brown)
(Spawn 2 top <gen> contains (Entering unit)) Equal to True
Collapse Then - Actions
Unit - Order (Entering unit) to Attack-Move To (Center of Move top <gen>)
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Owner of (Entering unit)) Equal to Player 12 (Brown)
(Spawn 2 middle <gen> contains (Entering unit)) Equal to True
Collapse Then - Actions
Unit - Order (Entering unit) to Attack-Move To (Center of Spawn 1 middle <gen>)
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Owner of (Entering unit)) Equal to Player 12 (Brown)
(Spawn 2 bottom <gen> contains (Entering unit)) Equal to True
Collapse Then - Actions
Unit - Order (Entering unit) to Attack-Move To (Center of Move bottom <gen>)
Else - Actions

Movement from top corner:
Collapse Events
Unit - A unit enters Move top <gen>
Collapse Conditions
Collapse Or - Any (Conditions) are true
Collapse Conditions
(Owner of (Entering unit)) Equal to Player 6 (Orange)
(Owner of (Entering unit)) Equal to Player 12 (Brown)
Collapse Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Owner of (Entering unit)) Equal to Player 6 (Orange)
Collapse Then - Actions
Unit - Order (Entering unit) to Attack-Move To (Center of Spawn 2 top <gen>)
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Owner of (Entering unit)) Equal to Player 12 (Brown)
Collapse Then - Actions
Unit - Order (Entering unit) to Attack-Move To (Center of Spawn 1 top <gen>)
Else - Actions

Movement from bottom corner:
Collapse Events
Unit - A unit enters Move bottom <gen>
Conditions
Collapse Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Owner of (Entering unit)) Equal to Player 6 (Orange)
Collapse Then - Actions
Unit Group - Pick every unit in (Units in Move bottom <gen>) and do (Unit - Order (Picked unit) to Attack-Move To (Center of Spawn 2 bottom <gen>))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Owner of (Entering unit)) Equal to Player 12 (Brown)
Collapse Then - Actions
Unit - Order (Entering unit) to Attack-Move To (Center of Spawn 1 bottom <gen>)
Else - Actions
11-02-2007, 09:05 PM#7
FOX_84killer
Thanks i will try that.