- Joined
- Jun 2, 2009
- Messages
- 1,205
Edit: I have solved it by myself. If you want to learn, post message in here. I am not sharing directly because i gave up and changed system. That means i am actually not solved this one.
Here it is what i try to do.
You have 1 worker and you can gather lumber and return to your Lumber Mill
If you have 20 wood, your worker cannot return lumber to your mill.
But it seems i have messed. I am not familiar with order triggers. What am i missing?
Code:
lumber stock
Events
Player - Player 1 (Red)'s Current lumber becomes Greater than or equal to 10.00
Conditions
Actions
Game - Display to Player Group - Player 1 (Red) the text: KUTUKMAX
Set P1KutukMax = True
Code:
lumber stop
Events
Unit - A unit owned by Player 1 (Red) Is issued an order targeting an object
Conditions
(Issued order) Equal to (Order(harvest))
P1KutukMax Equal to True
Actions
Game - Display to Player Group - Player 1 (Red) the text: MAX KUTUK
Unit - Order (Triggering unit) to Stop
Here it is what i try to do.
You have 1 worker and you can gather lumber and return to your Lumber Mill
If you have 20 wood, your worker cannot return lumber to your mill.
But it seems i have messed. I am not familiar with order triggers. What am i missing?
Last edited: