Hi,
Trying actually to write my first callout plugin.
But have problems to sway my PED to shoot on everybody like cops and civils. Not only me.
Actually my PED is shooting only on me. I have made some tests with the Relationshipgroups, but was net successful.
Maybe anybody can get me the right tip what is to do or where I can find in in the RAGE SDK documentation. I missing a search function there
public override bool OnCalloutAccepted()
{
Rogue.Inventory.GiveNewWeapon("WEAPON_PISTOL", -1, true);
RBlip = Rogue.AttachBlip();
return base.OnCalloutAccepted();
}
public override void OnCalloutNotAccepted()
{
base.OnCalloutNotAccepted();
if (Rogue.Exists()) Rogue.Delete();
if (RBlip.Exists()) RBlip.Delete();
}
public override void Process()
{
base.Process();
/*Rogue.RelationshipGroup = "Killer";
Game.LocalPlayer.Character.RelationshipGroup = "Cop";
Game.SetRelationshipBetweenRelationshipGroups("Killer", "Cop", Relationship.Hate);*/
Rogue.Tasks.FightAgainst(Game.LocalPlayer.Character);
if (Game.LocalPlayer.Character.IsDead || Rogue.IsDead)
{
this.End();
}
}