attacknpc, attacknpctype, buryplayercorpse, castspell, changedeity, checktitle, clear_npctype_cache, clear_proximity, clear_zone_flag

TurmoilToad
2018-12-13 11:52:24 -05:00
parent 9f1db9026c
commit c12e57b26d
+46 -9
@@ -1225,19 +1225,56 @@ quest::checktitle(2); #:: Returns bool
      npc_type_id _(int)_       npc_type_id _(int)_
      **Usage:**
      Clears the NPC Table.
### clear_proximity
      **Parameter(s):**
      None.
      **Usage:**
      Clears an NPC's defined proximity.
      **Example:**
```perl
sub EVENT_SPAWN {
#:: Create a proximity, 50 units across
quest::set_proximity($x - 25, $x + 25, $y - 25, $y + 25);
}
sub EVENT_ENTER {
#:: Shout a message when the event is triggered
quest::shout("Congratulations $name, you have won the race!");
#:: Clear the proximity since second place is the first loser
quest::clear_proximity();
}
```
### clear_zone_flag
      **Parameter(s):**
      zone_id _(uint32)_
      **Usage:**
      Used to clear the Zone Flag, by ID, of a client character.
      **Example:**
```perl
#:: Clear the character's Zone Flag (Sleeper's Key) for 128 - The Sleeper's Tomb (sleeper)
quest::clear_zone_flag(128);
```
(Work in Progress) (Work in Progress)
```perl ```perl
quest::clear_proximity()
quest::clear_zone_flag(uint32 zone_id)
quest::clearspawntimers() quest::clearspawntimers()
quest::collectitems(int item_id, [bool remove_item = true]) quest::collectitems(int item_id, [bool remove_item = true])
quest::completedtasksinset(int task_set) quest::completedtasksinset(int task_set)