mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-08 18:36:37 +00:00
pause, permaclass, permagender, permarace, playerfeature, playergender, playerrace
+119
-7
@@ -2714,16 +2714,128 @@ quest::npcsize(17);
|
||||
quest::npctexture(2);
|
||||
```
|
||||
|
||||
## pause
|
||||
|
||||
**Parameter(s):**
|
||||
|
||||
duration-ms _(int)_
|
||||
|
||||
**Usage:**
|
||||
|
||||
Forces the NPC to pause for the specified duration in ms.
|
||||
|
||||
**Example:**
|
||||
|
||||
```perl
|
||||
#:: Pause for 1 second
|
||||
quest::pause(1000);
|
||||
```
|
||||
|
||||
## permaclass
|
||||
|
||||
**Parameter(s):**
|
||||
|
||||
class_id _(int)_
|
||||
|
||||
**Usage:**
|
||||
|
||||
Permanently changes the class of the client character that triggered the event to the specified class, and disconnects them.
|
||||
|
||||
**Example:**
|
||||
|
||||
```perl
|
||||
#:: Change class to Warrior
|
||||
quest::permaclass(1);
|
||||
```
|
||||
|
||||
## permagender
|
||||
|
||||
**Parameter(s):**
|
||||
|
||||
gender_id _(int)_
|
||||
|
||||
**Usage:**
|
||||
|
||||
Permanently changes the gender of the client character that triggered the event to the specified gender, and disconnects them.
|
||||
|
||||
**Example:**
|
||||
|
||||
```perl
|
||||
#:: Change gender 0 = Male, 1 = Female, 2 = Neuter.
|
||||
quest::permagender(0);
|
||||
```
|
||||
|
||||
## permarace
|
||||
|
||||
**Parameter(s):**
|
||||
|
||||
race_id _(int)_
|
||||
|
||||
**Usage:**
|
||||
|
||||
Permanently changes the [Race Type](https://github.com/EQEmu/Server/wiki/Race-Types) of the client character that triggered the event to the specified race, and disconnects them.
|
||||
|
||||
**Example:**
|
||||
|
||||
```perl
|
||||
#:: Change race to Human
|
||||
quest::permarace(1);
|
||||
```
|
||||
|
||||
## playerfeature
|
||||
|
||||
**Parameter(s):**
|
||||
|
||||
feature _(string)_, setting _(int)_
|
||||
|
||||
**Usage:**
|
||||
|
||||
Temporarily changes the player feature to the specified setting. Acceptable strings are: race, gender, texture, helm, haircolor, beardcolor, eyecolor1, eyecolor2, hair, face, beard, heritage, tattoo, details, or size.
|
||||
|
||||
**Example:**
|
||||
|
||||
```perl
|
||||
#:: Change race to Human
|
||||
quest::playerfeature("race", 1);
|
||||
```
|
||||
|
||||
## playergender
|
||||
|
||||
**Parameter(s):**
|
||||
|
||||
gender_id _(int)_
|
||||
|
||||
**Usage:**
|
||||
|
||||
Temporarily changes the gender of the client character that triggered the event to the specified gender.
|
||||
|
||||
**Example:**
|
||||
|
||||
```perl
|
||||
#:: Change gender 0 = Male, 1 = Female, 2 = Neuter.
|
||||
quest::playergender(0);
|
||||
```
|
||||
|
||||
## playerrace
|
||||
|
||||
**Parameter(s):**
|
||||
|
||||
race_id _(int)_
|
||||
|
||||
**Usage:**
|
||||
|
||||
Temporarily changes the [Race Type](https://github.com/EQEmu/Server/wiki/Race-Types) of the client character that triggered the event to the specified race.
|
||||
|
||||
**Example:**
|
||||
|
||||
```perl
|
||||
#:: Change race to Human
|
||||
quest::playerrace(1);
|
||||
```
|
||||
|
||||
(Work in Progress)
|
||||
|
||||
```perl
|
||||
quest::pause(int duration-ms)
|
||||
quest::permaclass(int class_id)
|
||||
quest::permagender(int gender_id)
|
||||
quest::permarace(int race_id)
|
||||
quest::playerfeature(string feature [race|gender|texture|helm|haircolor|beardcolor|eyecolor1|eyecolor2|hair|face|beard|heritage|tatoo|details|size], int setting)
|
||||
quest::playergender(int gender_id)
|
||||
quest::playerrace(int race_id)
|
||||
quest::playersize(int newsize)
|
||||
quest::playertexture(int texture_id)
|
||||
quest::popup(string window_title, string message, int popup_id, int buttons, int duration)
|
||||
|
||||
Reference in New Issue
Block a user