Added PnP Dire Rat.
Added PnP Dire Rat.
This commit is contained in:
45
nwn_dark_sun/loc_spawn_omni.nss
Normal file
45
nwn_dark_sun/loc_spawn_omni.nss
Normal file
@@ -0,0 +1,45 @@
|
||||
//:://////////////////////////////////////////////////
|
||||
//:: LOC_SPAWN_OMNI
|
||||
//::
|
||||
//:: OnSpawn script for OMNIVORES (i.e. boars) only.
|
||||
//::
|
||||
//:://////////////////////////////////////////////////
|
||||
//:: Copyright (c) 2002 Floodgate Entertainment
|
||||
//:: Created By: Naomi Novik
|
||||
//:: Created On: 12/11/2002
|
||||
//:://////////////////////////////////////////////////
|
||||
|
||||
#include "ms_name_inc"
|
||||
#include "x0_i0_walkway"
|
||||
#include "x0_i0_behavior"
|
||||
|
||||
void main()
|
||||
{
|
||||
SetBehaviorState(NW_FLAG_BEHAVIOR_SPECIAL);
|
||||
SetBehaviorState(NW_FLAG_BEHAVIOR_OMNIVORE);
|
||||
|
||||
// ***** DEFAULT GENERIC BEHAVIOR (DO NOT TOUCH) ***** //
|
||||
|
||||
// * Goes through and sets up which shouts the NPC will listen to.
|
||||
// *
|
||||
SetListeningPatterns();
|
||||
|
||||
// * Walk among a set of waypoints.
|
||||
// * 1. Find waypoints with the tag "WP_" + NPC TAG + "_##" and walk
|
||||
// * among them in order.
|
||||
// * 2. If the tag of the Way Point is "POST_" + NPC TAG, stay there
|
||||
// * and return to it after combat.
|
||||
//
|
||||
// * Optional Parameters:
|
||||
// * void WalkWayPoints(int nRun = FALSE, float fPause = 1.0)
|
||||
//
|
||||
// * If "NW_FLAG_DAY_NIGHT_POSTING" is set above, you can also
|
||||
// * create waypoints with the tags "WN_" + NPC Tag + "_##"
|
||||
// * and those will be walked at night. (The standard waypoints
|
||||
// * will be walked during the day.)
|
||||
// * The night "posting" waypoint tag is simply "NIGHT_" + NPC tag.
|
||||
WalkWayPoints();
|
||||
|
||||
ms_Nomenclature(OBJECT_SELF);
|
||||
}
|
||||
|
Reference in New Issue
Block a user