- Joined
- Aug 14, 2004
- Messages
- 188
Ok, so i have this map, of corse, lol
aliens map basically, when the crystlis pops up eventually it has on it 4 diffrent choices to spawn into eather a warrior, runner, drone, or cystic drone.
and eath ones used as a obsidon morph thingie, so i was hopeing it'd cost lumber, basically, but it doesnt subtract any lumber at all. i posted it here cuz i couldent find anywhere where triggers go.
the code behind it is
Events:
-Unit- a unit begins casting an ability
Conditions:
-and all conditions are true
-conditions:
(ability being cast) equal to Morph (name)
Actions:
-Player add -40 to (Matching player) Current lumber
-wait 15 seconds
-Unit- kill (triggering unit)
-unit-create 1 (unit) bla bla bla...
-spechial effect on unit...
i have this code 4 times for each unit typie thingie, and it gives me diffrent units sometimes when i click the same button or other buttons or sometimes it wont even give me the unit requested at all : \
Can anyone help me???
aliens map basically, when the crystlis pops up eventually it has on it 4 diffrent choices to spawn into eather a warrior, runner, drone, or cystic drone.
and eath ones used as a obsidon morph thingie, so i was hopeing it'd cost lumber, basically, but it doesnt subtract any lumber at all. i posted it here cuz i couldent find anywhere where triggers go.
the code behind it is
Events:
-Unit- a unit begins casting an ability
Conditions:
-and all conditions are true
-conditions:
(ability being cast) equal to Morph (name)
Actions:
-Player add -40 to (Matching player) Current lumber
-wait 15 seconds
-Unit- kill (triggering unit)
-unit-create 1 (unit) bla bla bla...
-spechial effect on unit...
i have this code 4 times for each unit typie thingie, and it gives me diffrent units sometimes when i click the same button or other buttons or sometimes it wont even give me the unit requested at all : \
Can anyone help me???