Jump to content

Making peds go crazy..


jmargel74

Recommended Posts

Wanted to create a type of riot callout.  I have the aggressors attacking victims, but I am looking for help on getting the aggressors attacking the public in general, just not the victims I spawn.  I am also looking for help for them to attack parked cars and places like the gas pumps at gas stations, public buildings, fire hydrants, etc..  Any advice?

Edited by jmargel74
Link to comment
Share on other sites

On 1/13/2017 at 11:21 AM, jmargel74 said:

Wanted to create a type of riot callout.  I have the aggressors attacking victims, but I am looking for help on getting the aggressors attacking the public in general, just not the victims I spawn.  I am also looking for help for them to attack parked cars and places like the gas pumps at gas stations, public buildings, fire hydrants, etc..  Any advice?

that is a great idea. i hope you get some help on this. i am not sure if the attacking peds can actually damage "in game" things like buildings, but its possible you can create a callout that includes its own props. for example, the redneck callout has one where you pull up and ten rednecks are burning a pile of caskets. maybe can contact khorio and see if he has any ideas.

Wanna Roleplay with Me? Join me at kuffsgaming.com and we'll see ya there 😄

YouTube: https://www.youtube.com/channel/UCERtCZWZE_HMciyLYJ2nYTg

Facebook: https://www.facebook.com/rywilsongaming/

Twitter: https://twitter.com/RyWilsonGaming

Twitch: https://www.twitch.tv/rywilson513/

Link to comment
Share on other sites

Quote

Ped.RelationshipGroup.SetRelationshipWith(RelationshipGroup.Player, Relationship.Hate);
Ped.Tasks.FightAgainst(RandomPeds[RandomPedSelect]);

or

Ped.Tasks.FightAgainstClosestHatedTarget(200f);

 

Some quick things I use

Link to comment
Share on other sites

Can you have them hate objects?  Not ones that you spawn.  cmPLX how would I set the relationship.hate to the public peds (not the ones I spawn)? Does Ped.RelationshipGroup.SetRelationshipWith(RelationshipGroup.Player, Relationship.Hate); accomplish this?
 

What really would be cool is to implement neurotechnology with artificial intelligence and basically have the peds think for themselves and watch what happens lol.. but back to the topic at hand :)

Edited by jmargel74
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...