hey i know the one for K1
void main()
{
ChangeToStandardFaction(OBJECT_SELF, STANDARD_FACTION_HOSTILE_1);
}
But when i use the same script for K2 it gets a error and i dont know what to change it to any help would be helpful:thmbup1:
this is for TSL to make an NPC hostile
//how many if the object has the same tag as other objects
int number = 1;
object oObject = GetObjectByTag("your_tag_here",number);
ChangeToStandardFaction(oObject, 1);