Posts: 25
Threads: 10
Joined: Jan 2009
Reputation:
0
1. Is there any way to make npc run around? I heard about animation, but my npcs will serve as a target (for weapons) so i guess they won't be hit in animation. I want running to be random, so i can't make a recording.
2. How is damage detection? Does NPCs damage system works simmilar to players?
Sorry if question have been posted, but word "npc" is too short, so i can't search for it.
Posts: 4,878
Threads: 85
Joined: Jun 2007
Reputation:
0
ATM npcs can only do prerecorded things. They also have no health/ can get no damage, so you cannot check if they are hit with normal functions. You could only check this by hand, meaning use GetPlayerCameraVector and OnPlayerKeyStateChange to detect if a player shoots.
Posts: 2,322
Threads: 260
Joined: Jul 2010
Reputation:
0
nope but you can like i dont make them just go around cities make 1 for each citie so san fierro record going around then make the pawno code then vuala
Posts: 25
Threads: 10
Joined: Jan 2009
Reputation:
0
@Mauzen that's sad to hear. I hope features like that would be implemented in the future (is project even active? Last release was 9 months ago). But anyway, thanks for answer.
@Firecat what?