19 lines
387 B
Plaintext
19 lines
387 B
Plaintext
//69_hench_eqrange
|
|
// Henchman equips melee weapon
|
|
// Created by: 69MEH69 Sep2004
|
|
|
|
#include "69_INC_HENAI"
|
|
|
|
void main()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
if(HasRangedWeapon69(OBJECT_SELF))
|
|
{
|
|
SetAssociateState(NW_ASC_USE_RANGED_WEAPON, TRUE);
|
|
ActionSpeakString("Very well.");
|
|
bkEquipRanged(oPC);
|
|
}
|
|
else
|
|
ActionSpeakString("I do not have a ranged weapon to equip.");
|
|
}
|