- Joined
- Mar 4, 2009
- Messages
- 1,156
i need to return lumber and gold of dying unit if he is killed by an ally
EVENT-unit dies
CONDITION-(dying unit) belongs to an ally of (owner of unit(killing unit))
ACTION
-add to (owner of unit(dying unit)) <gold cost of (dying unit)> correct gold
-add to (owner of unit(dying unit)) <lumber cost of (dying unit)> correct lumber
how can i do this?
EVENT-unit dies
CONDITION-(dying unit) belongs to an ally of (owner of unit(killing unit))
ACTION
-add to (owner of unit(dying unit)) <gold cost of (dying unit)> correct gold
-add to (owner of unit(dying unit)) <lumber cost of (dying unit)> correct lumber
how can i do this?