Battledale_PRC8/_module/nss/nk_minogonattack.nss
Jaysyn904 7b9e44ebbb Initial upload
Initial upload.  PRC8 has been added.  Module compiles, PRC's default AI & treasure scripts have been integrated.  Started work on top hak for SLA / Ability / Scripting modifications.
2024-03-11 23:44:08 -04:00

8 lines
283 B
Plaintext

void main()
{
object oGuard = GetObjectByTag("MINOGON_GRD");
object oPC = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC, OBJECT_SELF, 1);
ChangeToStandardFaction(oGuard, STANDARD_FACTION_HOSTILE);
AssignCommand(oGuard, ActionAttack(oPC, FALSE));
}