Jump to content

Home

Make a NPC attack the player


ocho

Recommended Posts

Hey,

 

this script makes the NPC you're talking to attack you right

void main()

{

ChangeToStandardFaction(OBJECT_SELF, STANDARD_FACTION_HOSTILE_1);

AdjustAlignment(GetFirstPC(), ALIGNMENT_DARK_SIDE, 20);

ChangeToStandardFaction(OBJECT_SELF, STANDARD_FACTION_HOSTILE_1);

}

but how do i change OBJECT_SELF into the NPC, its tag is cantina_droid

 

Thanks,

Ocho

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...