mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-08 22:46:35 +00:00
debug, crosszonesignalnpcbynpctypeid, crosszonesignalclientbycharid, crosszonesetentityvariablebynpctypeid, crosszonesetentityvariablebyclientname, crosszonemessageplayerbyname, createguild, creategroundobjectfrommodel, creategroundobject
+82
-12
@@ -1437,22 +1437,92 @@ sub EVENT_SAY{
|
|||||||
|
|
||||||
Sends a message to a client character on the specified channel. Useful for Expeditions and Shared Tasks.
|
Sends a message to a client character on the specified channel. Useful for Expeditions and Shared Tasks.
|
||||||
|
|
||||||
|
**Example:**
|
||||||
|
|
||||||
|
```perl
|
||||||
|
quest::crosszonemessageplayerbyname(15, $name, "Hi.");
|
||||||
|
```
|
||||||
|
|
||||||
|
## crosszonesetentityvariablebyclientname
|
||||||
|
|
||||||
|
**Parameter(s):**
|
||||||
|
|
||||||
|
client_name _(string)_, key _(string)_, value _(string)_
|
||||||
|
|
||||||
|
**Usage:**
|
||||||
|
|
||||||
|
Sets entity variables world-wide for the provided client character.
|
||||||
|
|
||||||
|
## crosszonesetentityvariablebynpctypeid
|
||||||
|
|
||||||
|
**Parameter(s):**
|
||||||
|
|
||||||
|
npc_type_id _(int)_, key _(string)_, value _(string)_
|
||||||
|
|
||||||
|
**Usage:**
|
||||||
|
|
||||||
|
Sets entity variables world wide with specified npctype_id.
|
||||||
|
|
||||||
|
## crosszonesignalclientbycharid
|
||||||
|
|
||||||
|
**Parameter(s):**
|
||||||
|
|
||||||
|
character_id _(int)_, value _(int)_
|
||||||
|
|
||||||
|
**Usage:**
|
||||||
|
|
||||||
|
Signals the client by character ID world wide.
|
||||||
|
|
||||||
|
**Example:**
|
||||||
|
|
||||||
|
```perl
|
||||||
|
#:: Signal the client character who triggered the event with "5000"
|
||||||
|
quest::crosszonesignalclientbycharid($charid,5000);
|
||||||
|
```
|
||||||
|
|
||||||
|
## crosszonesignalnpcbynpctypeid
|
||||||
|
|
||||||
|
**Parameter(s):**
|
||||||
|
|
||||||
|
npc_type_id _(uint32)_, value _(uint32)_
|
||||||
|
|
||||||
|
**Usage:**
|
||||||
|
|
||||||
|
Signals all NPC entities world-wide with the specified value.
|
||||||
|
|
||||||
|
**Example:**
|
||||||
|
|
||||||
|
```perl
|
||||||
|
#:: Signal all 4036 - a_giant_rat with "99"
|
||||||
|
quest::crosszonesignalnpcbynpctypeid(4036, 99);
|
||||||
|
```
|
||||||
|
|
||||||
|
## debug
|
||||||
|
|
||||||
|
**Parameter(s):**
|
||||||
|
|
||||||
|
message _(string)_, debug_level _(uint8)_
|
||||||
|
|
||||||
|
**Usage:**
|
||||||
|
|
||||||
|
Allows you to export debug information for an event, at the specified level (1 through 3).
|
||||||
|
|
||||||
|
**Example:**
|
||||||
|
|
||||||
|
```perl
|
||||||
|
sub EVENT_ENVIRONMENTAL_DAMAGE {
|
||||||
|
quest::debug("EVENT_ENVIRONMENTAL_DAMAGE");
|
||||||
|
quest::debug("env_damage is " . $env_damage);
|
||||||
|
quest::debug("env_damage_type is " . $env_damage_type);
|
||||||
|
quest::debug("env_final_damage is " . $env_final_damage);
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
(Work in Progress)
|
(Work in Progress)
|
||||||
|
|
||||||
```perl
|
```perl
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
quest::crosszonesetentityvariablebyclientname(string client_name, string key, string value)
|
|
||||||
quest::crosszonesetentityvariablebynpctypeid(int npc_type_id, string key, string value)
|
|
||||||
quest::crosszonesignalclientbycharid(int character_id, int value)
|
|
||||||
quest::crosszonesignalclientbycharid(int character_id, int value)
|
|
||||||
quest::crosszonesignalclientbycharid(string name, int value)
|
|
||||||
quest::crosszonesignalclientbycharid(string name, int value)
|
|
||||||
quest::crosszonesignalnpcbynpctypeid(uint32 npc_type_id, uint32 value)
|
|
||||||
quest::debug(string message, [uint8 debug_level = 1 [1-3]])
|
|
||||||
quest::delglobal(string key)
|
quest::delglobal(string key)
|
||||||
quest::depop(int npc_type_id = 0)
|
quest::depop(int npc_type_id = 0)
|
||||||
quest::depop_withtimer(int npc_type_id = 0)
|
quest::depop_withtimer(int npc_type_id = 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user