Initial upload
Initial upload
This commit is contained in:
36
_module/nss/aw_takerunesforp.nss
Normal file
36
_module/nss/aw_takerunesforp.nss
Normal file
@@ -0,0 +1,36 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName aw_takerunesforp
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 11/27/2003 12:06:31 PM
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
|
||||
// Remove items from the player's inventory
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "AWRUNE001");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "AWRUNE002");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "AWRUNE003");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "AWRUNE004");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
|
||||
object oTarget;
|
||||
object oSpawn;
|
||||
location lTarget;
|
||||
oTarget = GetWaypointByTag("WP_VERAPORTAL");
|
||||
|
||||
lTarget = GetLocation(oTarget);
|
||||
|
||||
oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "portaltovera", lTarget);
|
||||
|
||||
DestroyObject(oSpawn, 300.0);
|
||||
}
|
||||
Reference in New Issue
Block a user