make citz to build a object

For discussion about scenarios! Post your scenarios, comment on others' scenarios, discuss triggers, and so on.
Post Reply
User avatar
CAV_range
Basic Member
Posts: 47
Joined: Sat Mar 30, 2019 2:18 am

make citz to build a object

Post by CAV_range »

Is it possible make a bunch of citz to build a tower for example? if so, how?

Thanøs
Novice Member
Posts: 15
Joined: Tue Nov 13, 2018 6:47 pm
Lobby Username: Thanøs

Re: make citz to build a object

Post by Thanøs »

for myself i found out it can be tricky. Somethimes it works somethimes not. It workes somethimes with this triggers for me:

Create an Object, under "select on map" chose the 2nd option "object specification". Then change owner to the AI Player you want (f.ex. player 2).
Then chose class "Tower primitive" for example. I set min 1 max 1.

Then go to Effects section: chose effect type "KI or AI". Then make 2 effects: create objects / owner player 2 -> "tower primitive". 2nd would be the "set AI Variable effect: property is: desired number of towers. for ex. set 1 / 5 / 0.1.

Then you need to make the effects: 1st = if ever -> then effect "AI variable effect" [set loop] 2nd = if ever -> then "create object effect" [set loop]. Somethimes this works. Ofc the player needs cits for this. hope this helps

Post Reply

Return to “Scenario Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests