I'm working on a bat pet.
It's following player all over the map (except water), and it collects worms by night. It would be succesfull, but animations doesn't work, and i don't know why. Here's the code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
### Bat
id=197
name=Bat pet
group=animal
icon=gfx\bat.bmp
model=gfx\bat.3ds
colxr=18
colyr=14
scale=0.20
behaviour=monkey
health=5000000
speed=2
turnspeed=2
ani_move=1,30,0.10
ani_die=1,2,0.11
script=start
on:start { if (health("self")>0){ ai_mode "self","goto","unit","1"; ai_center; }
script=end