- Joined
- Mar 19, 2008
- Messages
- 88
I just can't figure out how to make a bot with triggers! I need bots like the one in castle fight because I'm making a map like that, but I don't know how. So if anyone could help me do this I would be thankful.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
are you talking about the Dota -ai maps with heroes controlled by computers or just the creep spawns?
As for dota hero AI my thought would be alot of different eventualities change the behaviour of the ai. A complex system that calculates decisions based on basic things like current unit health of hero, if a tower is nearby, what hero their facing. different eventuallities means a different decision e.g. to chase the hero or not
Build 1

Events


Player - Player 1 (Red)'s Current gold becomes Greater than 1000.00

Conditions


(Number of units in (Units owned by Player 2 (Blue) of type Gryphon Aviary)) Greater than or equal to 1

Actions


Set random = (Random integer number between 1 and 3)


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




random Equal to 1



Then - Actions




Unit - Order Peasant 0000 <gen> to build a Workshop at (Center of (Playable map area))



Else - Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




random Equal to 2



Then - Actions




Unit - Order Peasant 0000 <gen> to build a Barracks at (Center of (Playable map area))



Else - Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




random Equal to 3



Then - Actions




Unit - Order Peasant 0000 <gen> to build a Gryphon Aviary at (Center of (Playable map area))



Else - Actions
