Staredit Network

Staredit Network -> UMS Assistance -> Somewhat confusing problem...
Report, edit, etc...Posted by Inspektah-Deck on 2006-04-15 at 15:03:21
In my map each person can build 1 nexus at a time(castle) to improve his spawn. The player can build up to three of these castles. Other players can kill these castles and the player must rebuild them(this can go on forever killing and rebuilding). What I cant figure out is how to make it so that when a castle dies you get money to build another, but they can have up to three castles.

The spawn trigger goes like this

Trigger
Description:
Spawn
Players:
¤ Current Player
Conditions:
¤ Player(x) commands exactly two castles
¤ Countdown timer is atleast 90seconds
Actions:
¤ Create 3 hydralisks
¤ more units spawned


If you cant understand what I mean ill try to reword it as it is confusing.
Report, edit, etc...Posted by Kenoli on 2006-04-15 at 15:10:33
How's this?
Trigger
Description:
Castle Destroyed
Conditions:
¤ Current Player has suffered at least 1 death of Castle.
Actions:
¤ Modify resources for Current Player: Add X resources.
Report, edit, etc...Posted by MindArchon on 2006-04-15 at 15:43:54
With the above trigger, don't forget to set deaths back to zero, and to preserve the trigger.
Report, edit, etc...Posted by Inspektah-Deck on 2006-04-20 at 21:35:50
Ok thanks for the help but ive got a new problem; there is not much space t
Trigger
Players:
¤ Players 1,2,4
Conditions:
¤ Current player commands exactly 3 castle
Actions:
¤ Remove all Castle for current player at 'remove castle'
¤ Give 1 Castle Owned by Computer Player at Anywere to current player
¤ Preserve Trigger

o build 3 castles for the player so I have about 15 of them stacked in a diff. area that belong to a computer player, when I build the first castle it is removed from were it was built and is given one of the comps stacked castles.
The problem is this trigger only works for the building of the first castle, when you build the next it just sits there and doesnt get removed.


ADDITION:
up
Report, edit, etc...Posted by k64 on 2006-05-07 at 17:15:33
If you explain this more i can help - basically it sounds like when you build a 3rd castle, you replace it with a castle owned by the computer - ???????

p.s. remember to use 'preserve trigger' to keep a trigger going after it occurs once
Next Page (1)