14 lines
324 B
Plaintext
14 lines
324 B
Plaintext
|
// Faction Change Script for a Trigger
|
||
|
#include "nw_i0_generic"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
// Change Faction to Hostile
|
||
|
object oAttacker = GetPCSpeaker();
|
||
|
if(GetIsObjectValid(oAttacker))
|
||
|
{
|
||
|
ChangeToStandardFaction(OBJECT_SELF, STANDARD_FACTION_HOSTILE);
|
||
|
}
|
||
|
DetermineCombatRound(GetPCSpeaker());
|
||
|
}
|