- Joined
- Nov 5, 2010
- Messages
- 28
Hi guys
How do you manage another resource in world edit (for ex: silver) with another way to mine this ressource (ex : every second while a peasant use "mine silver" on a rock, the player get +1 silver) ?
I hope that some will want to help me and they understand my bad english
I thought :
A peasant have a channel spell "Mine Silver"...
Event :
Every seconds of the game
Conditions :
An unit is casting "mine silver"
casting unit is a peasant
attacked (dont remember the real word) unit is Rock
Actions :
set variable : Silver[number of player of casting unit] = Silver[number of player of casting unit]+1
I dont know if its work but you have the idea
Its a good way ?
How do you manage another resource in world edit (for ex: silver) with another way to mine this ressource (ex : every second while a peasant use "mine silver" on a rock, the player get +1 silver) ?
I hope that some will want to help me and they understand my bad english
I thought :
A peasant have a channel spell "Mine Silver"...
Event :
Every seconds of the game
Conditions :
An unit is casting "mine silver"
casting unit is a peasant
attacked (dont remember the real word) unit is Rock
Actions :
set variable : Silver[number of player of casting unit] = Silver[number of player of casting unit]+1
I dont know if its work but you have the idea
Its a good way ?