Initial commit
Initial commit [v9.7]
This commit is contained in:
31
_module/nss/cnv_hstl_grllie.nss
Normal file
31
_module/nss/cnv_hstl_grllie.nss
Normal file
@@ -0,0 +1,31 @@
|
||||
#include "nw_i0_generic"
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
// Get the PC who is in this conversation.
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
object oActor;
|
||||
|
||||
SetLocalString(oPC, "grilli2", "1");
|
||||
|
||||
object oGrilli = GetObjectByTag("grilli3");
|
||||
|
||||
ChangeToStandardFaction(oGrilli, STANDARD_FACTION_HOSTILE);
|
||||
|
||||
ActionAttack(oPC);
|
||||
|
||||
object oBleeder = GetObjectByTag("Bleeder");
|
||||
|
||||
ChangeToStandardFaction(oBleeder, STANDARD_FACTION_HOSTILE);
|
||||
|
||||
// Attack the PC.
|
||||
SetIsTemporaryEnemy(oPC, GetNearestObjectByTag("Bleeder"));
|
||||
AssignCommand(GetNearestObjectByTag("Bleeder"), DetermineCombatRound(oPC));
|
||||
|
||||
// Have "" cast Caltrops.
|
||||
oActor = GetObjectByTag("grilli3xbow");
|
||||
AssignCommand(oActor, ActionCastSpellAtObject(SPELL_GRENADE_CALTROPS, oPC, METAMAGIC_ANY, TRUE, 0, PROJECTILE_PATH_TYPE_DEFAULT, TRUE));
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user