NPC Questions
#1

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.
Reply
#2

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.
Reply
#3

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
Reply
#4

@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?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)