Battledale_PRC8/_module/nss/gc_has_wpn.nss

28 lines
600 B
Plaintext
Raw Permalink Normal View History

//::///////////////////////////////////////////////
//:: FileName gc_has_wpn
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 9/11/2008 10:30:09 AM
//:://////////////////////////////////////////////
#include "nw_i0_tool"
int StartingConditional()
{
int nType;
object oItem = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, GetPCSpeaker());
// Make sure the PC speaker is wearing a weapon!
if(oItem !=OBJECT_INVALID)
{
return TRUE;
}
else
{
return FALSE;
}
}