| 09-16-2003, 02:51 AM | #1 |
Ok, I want to do a battle system where players have 50 Seconds (Turns) to issue orders. Then the units have 10 seconds to carry out the orders. The hard part comes in at this: I want it so when a unit issues is issued an order a circle of power (Colors- Red: Attack, Green: Move) appears where the ground/unit is. Ill clear this up in 5 minutes. -50 Seconds to issue orders (In turns). -At the target of the issued order a CoP comes out. (Color: Red-Attack, Green-Move). -10 Seconds to carry out orders (Player can type -go to skip issue order waittime). -Then orders are carried out. -Next persons turn. Things that can be done in issue order time ---------------------------------------------------------- 1) Change Weapons/Use Item [Weapons=Item /Equip 1 at a time, diff fire time-range-power for each\]. 2) Move to point. 3) Attack Point 4) Attack Object 5) Use Targeted Object (Buildings and Powerup/heal spots...maybe) 6) Defend/Enhance Sight Range (For 1 turn but cant move) ---Units have diff chances of hitting based on range (maybe or no?) Now I dont know jass... |
| 09-16-2003, 11:26 AM | #2 | ||
Didn't you already outline the steps you have to take? Quote:
So just start a one shot timer when the turn starts... when it ends or the player moves pass the timer on to the next person. Quote:
Uhhuh... you already said it. Trigger 1 Event - Unit is issued order targeting a unit. Conditions - Blahblahblah Action - Create CoP on position of target unit of issued order. Trigger 2 Event - Unit is issued an order targeting a point Conditions - Whatever Action - Create CoP on position of target point of issued order. Now I have no idea how to create CoPs, so you can either create a unit with the model of CoP and set the colours to red and green, then call on the respective CoP for the respective order. Alternatively, you could create a BIG-S special effect like ressurection. |
| 09-16-2003, 01:16 PM | #3 |
Sounds like part of your trigger is going to be pausing all units every turn cycle. I'm not sure if paused units will store orders given to them while they're paused. If not, you'll have to do something like create an array to store orders, and re-issue them once the move-attack phase starts. |
| 09-16-2003, 03:27 PM | #4 |
I might have already said it, I was just trying to make it more clear. I know how to do the pause/unpause. |
