![]() | |
| | #1 |
![]() Join Date: Mar 2008
Posts: 12
![]() | Help on Spawn Footmen Upgrade. My doubt is how do i make Spawns of footmen upgrading when the bases where he got spawned are upgraded. Example: On footmen, When i have Barracks = spwans footman, when i upgrade to tree of life = spawns archer and i want to know how do i trigger that... normal.Barracks = footman upgraded to.Keep = rifleman upgraded to.castle = knight thats my doubt, Spawning diferent units when upgraded. Thnx |
| | |
| | #2 |
![]() Join Date: Mar 2008
Posts: 33
![]() | Re: Help on Spawn Footmen Upgrade. Spawn Footmen Copy 2 Events Time - Every 8.00 seconds of game time Conditions Actions Set Unit_Group = (Units in (Playable map area) matching (((Unit-type of (Matching unit)) Equal to Barbie World) and (((Matching unit) is alive) Equal to True))) Unit Group - Pick every unit in Unit_Group and do (Actions) Loop - Actions Set Point = (Position of (Picked unit)) Unit - Create 1 Barbie for (Owner of (Picked unit)) at Point facing Default building facing degrees Custom script: call RemoveLocation(udg_Point) Custom script: call DestroyGroup(udg_Unit_Group) thats a trigger of my map barbie World is the building and Barbie is a unit just replace those and you need 1 trigger for each building i think |
| | |
| | #3 |
![]() Join Date: Mar 2008
Posts: 12
![]() | Re: Help on Spawn Footmen Upgrade. Hmm ok i will try it later, thx if i get some trouble i will post here what is the problem... Thx again. |
| | |
| | #4 |
![]() Join Date: Sep 2006 Location: Denmark (GMT+1)
Posts: 2,173
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: Help on Spawn Footmen Upgrade. Code: Upgrade Base
Events
Unit - A unit Finishes an upgrade
Conditions
(Unit-type of (Triggering unit)) Equal to Keep
Actions
Set UnitSpawnType[(Player number of (Triggering player))] = Knight Otherwise you can spawn units with only one trigger, but not to be offensive it doesn't sound like you know how. Here is a sample trigger: Code: Spawn Units
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
Unit - Create 1 UnitSpawnType[(Integer A)] for (Player((Integer A))) at ((Player((Integer A))) start location) facing Default building facing degrees Last edited by Mr. Zero; 03-16-2008 at 02:36 PM. |
| | |
![]() |
| Tags |
| spawn footmen upgrade |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| RoS: Rise of Sauron | MMG_God | Members Projects | 19 | 03-07-2008 02:33 PM |
| Footmen Revolution | Maelstrom_ | WarCraft Maps | 17 | 03-02-2008 05:11 PM |
| Unit editor basic guide | Halakbalakbalak | Submit a Tutorial [World Editor] | 1 | 10-19-2007 02:18 PM |
| A Simple Footmen Spawn | MrOrange | Tutorials | 9 | 07-14-2007 10:51 AM |
| [Tutorial] Footmen Wars Spawn | MrOrange | World Editor Help | 5 | 04-23-2007 10:33 PM |