23 lines
746 B
Plaintext
23 lines
746 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName quest_wiz_e
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 2003-10-02 11:04:23 AM
|
||
|
//:://////////////////////////////////////////////
|
||
|
#include "nw_i0_generic"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
// Remove items from the player's inventory
|
||
|
object oItemToTake;
|
||
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "RHUN_SCRFORYBEX");
|
||
|
if(GetIsObjectValid(oItemToTake) != 0)
|
||
|
DestroyObject(oItemToTake);
|
||
|
|
||
|
// Set the faction to hate the player, then attack the player
|
||
|
ChangeToStandardFaction(OBJECT_SELF, STANDARD_FACTION_HOSTILE);
|
||
|
DetermineCombatRound(GetPCSpeaker());
|
||
|
}
|