I watched the video but 1. they just move around 2. i did the script and its noytdisappearing when it dies?
1 Like
Create a new game with the Hunt and Gather
template. You can look at the scripts and attack animations of that unit. For example, a Bear
.
1 Like
Make a Player Variable and set the player variable to AI 1
Make a Player type for telling the ai what is a hostile unit and stuff
Go to scripting and in initialize(the script you start off with),
Assign the Player Variable to Player type this teaches the AI what is hostile and stuff
Create the unit and stuff, make sure to assign the unit to enemy team or whatever
Go in to the unit’s settings and click AI and set Enable Ai as True, then do whatever you want from there
If you need more help understanding this ask about it.
3 Likes