Forum
Stranded II General Map: Name UnknownMap: Name Unknown
27 repliesSorry bit sleepy. I've run out of energy drink.
I tested it out on a raptor, and as long as the animal has sight of you, he will continue to follow or in this case try to kill you... once you leave his line of sight then he'll return to his normal pacing...
I say it would be useful to put this raptor several lengths off the island in a place where it would only see the player once the player has landed and starts to forage or do something...
Once it has sight of the player though, its worse then a tracer bullet... however it will not go into the water... at least, not on my comp.
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
on:create { 		timer "self",1000,0; 	} 	on:start { 		timer "self",1000,0; 	} 	on:timer { 		if (health("self")>0){ 			ai_mode "self","goto","unit","1"; 			ai_center; 		} 	}
Just add that code to any unit, and that unit will work as I described above...
A professional scripter could do better though...
the animals tend to walk in water before realising its water
but when they realise it they will come back so just ignore it
they aint gonna find you in water
I think the timer is like 500ms?
It checks every 500ms for if the animal is under 0y and if it is then turns the animal back...