|
Post by GhosT on Jun 14, 2005 17:09:50 GMT 1
how to set race depending on clicked dialog button(and after that chose randomly position) just like in mefhisto war of the races 2
|
|
|
Post by Mefhisto on Jun 14, 2005 18:33:47 GMT 1
Example: Spawn for Humans
Events Dialog - A dialog button is clicked for Dialog Conditions (Clicked dialog button) Equal to Humans Actions Unit - Create 1 Human Town Hall for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees Unit - Create 5 Peasant for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees Player - Set (Triggering player) Current gold to 500 Player - Set (Triggering player) Current lumber to 150 Camera - Pan camera for (Triggering player) to ((Triggering player) start location) over 0.00 seconds
|
|
|
Post by Inu Yasha on Jun 14, 2005 19:36:14 GMT 1
Yup that's it.
|
|