Quest Methods
Perl
Lua
1
quest::AssignGroupToInstance(uint16 instance_id)
2
quest::AssignRaidToInstance(uint16 instance_id)
3
quest::AssignToInstance(uint16 instance_id)
4
quest::AssignToInstanceByCharID(uint16 instance_id, uint32 char_id)
5
quest::CheckInstanceByCharID(uint16 instance_id, uint32 char_id)
6
quest::ChooseRandom(option1, option2, option3, option4, option5...[no limit])
7
quest::CreateInstance(string zone_name, uint16 version, uint32 duration)
8
quest::DestroyInstance(int id)
9
quest::FlagInstanceByGroupLeader(uint32 zone, uint16 version)
10
quest::FlagInstanceByRaidLeader(uint32 zone, uint16 version)
11
quest::FlyMode(uint8 mode [0-5])
12
quest::GetCharactersInInstance(uint16 instance_id)
13
quest::GetInstanceID(string zone_name, uint16 version)
14
quest::GetInstanceIDByCharID(string zone_name, uint16 version, uint32 char_id)
15
quest::GetInstanceTimer()
16
quest::GetInstanceTimerByID(uint16 instance_id)
17
quest::GetSpellResistType(uint32 spell_id)
18
quest::GetSpellTargetType(uint32 spell_id)
19
quest::GetTimeSeconds()
20
quest::GetZoneID(string zone)
21
quest::GetZoneLongName(string zone)
22
quest::IsBeneficialSpell(uint32 spell_id)
23
quest::IsEffectInSpell(uint32 spell_id, uint32 effect_id)
24
quest::IsRunning()
25
quest::LearnRecipe(int recipe_id)
26
quest::MerchantCountItem(uint32 npc_id, uint32 item_id)
27
quest::MerchantSetItem(uint32 npc_id, uint32 item_id, [uint32 quantity])
28
quest::ModifyNPCStat(string key, string value)
29
quest::MovePCInstance(int zone_id, int instance_id, float X, float Y, float Z, [float heading])
30
quest::RemoveAllFromInstance(uint16 instance_id)
31
quest::RemoveFromInstance(uint16 instance_id)
32
quest::RemoveFromInstanceByCharID(uint16 instance_id, uint32 char_id)
33
quest::SendMail(stirng to, string from, string subject, string message)
34
quest::SetRunning(bool is_running)
35
quest::UpdateInstanceTimer(int16 instance_id, uint32 duration)
36
quest::UpdateSpawnTimer(uint32 spawn2_id, uint32 updated_time_till_repop)
37
quest::UpdateZoneHeader(string key, string value)
38
quest::activespeakactivity(int task_id)
39
quest::activespeaktask()
40
quest::activetasksinset(int task_set)
41
quest::addldonloss(int losses, int theme_id)
42
quest::addldonpoints(int points, int theme_id)
43
quest::addldonwin(int wins, int theme_id)
44
quest::addloot(uint32 item_id, uint16 charges = 0, [bool equip_item = true])
45
quest::addskill(int skill_id, int value)
46
quest::assigntask(int task_id, [bool enforce_level_requirement = false])
47
quest::attack(string client_name)
48
quest::attacknpc(int npc_entity_id)
49
quest::attacknpctype(int npc_type_id)
50
quest::buryplayercorpse(int character_id)
51
quest::castspell(int spell_id, int target_id)
52
quest::changedeity(int deity_id)
53
quest::checktitle(int title_set_id)
54
quest::clear_npctype_cache(int npc_type_id)
55
quest::clear_proximity()
56
quest::clear_zone_flag(uint32 zone_id)
57
quest::clearspawntimers()
58
quest::collectitems(int item_id, [bool remove_item = true])
59
quest::completedtasksinset(int task_set)
60
quest::countitem(uint32 item_id)
61
quest::createBot(string first_name, string last_name, int level, int race_id, int class_id, int gender_id)
62
quest::createdoor(string model_name, float X, float Y, float Z, float heading, [int object_type = 58], [int size = 100])
63
quest::creategroundobject(int item_id, float X, float Y, float Z, float heading, [uint32 decay_time-ms = 300000])
64
quest::creategroundobjectfrommodel(string model_name, float X, float Y, float Z, float heading, [int object_type], [uint32 decay_time-ms = 300000])
65
quest::createguild(string guild_name, string leader_name)
66
quest::crosszoneassigntaskbycharid(int character_id, uint32 task_id, [bool enforce_level_requirement = false])
67
quest::crosszoneassigntaskbygroupid(int group_id, uint32 task_id, [bool enforce_level_requirement = false])
68
quest::crosszoneassigntaskbyraidid(int raid_id, uint32 task_id, [bool enforce_level_requirement = false])
69
quest::crosszoneassigntaskbyguildid(int guild_id, uint32 task_id, [bool enforce_level_requirement = false])
70
quest::crosszonecastspellbycharid(int character_id, uint32 spell_id)
71
quest::crosszonecastspellbygroupid(int group_id, uint32 spell_id)
72
quest::crosszonecastspellbyraidid(int raid_id, uint32 spell_id)
73
quest::crosszonecastspellbyguildid(int guild_id, uint32 spell_id)
74
quest::crosszonedisabletaskbycharid(int character_id, uint32 task_id)
75
quest::crosszonedisabletaskbygroupid(int group_id, uint32 task_id)
76
quest::crosszonedisabletaskbyraidid(int raid_id, uint32 task_id)
77
quest::crosszonedisabletaskbyguildid(int guild_id, uint32 task_id)
78
quest::crosszoneenabletaskbycharid(int character_id, uint32 task_id)
79
quest::crosszoneenabletaskbygroupid(int group_id, uint32 task_id)
80
quest::crosszoneenabletaskbyraidid(int raid_id, uint32 task_id)
81
quest::crosszoneenabletaskbyguildid(int guild_id, uint32 task_id)
82
quest::crosszonefailtaskbycharid(int character_id, uint32 task_id)
83
quest::crosszonefailtaskbygroupid(int group_id, uint32 task_id)
84
quest::crosszonefailtaskbyraidid(int raid_id, uint32 task_id)
85
quest::crosszonefailtaskbyguildid(int guild_id, uint32 task_id)
86
quest::crosszonemoveinstancebycharid(int character_id, uint16 instance_id)
87
quest::crosszonemoveinstancebygroupid(int group_id, uint16 instance_id)
88
quest::crosszonemoveinstancebyraidid(int raid_id, uint16 instance_id)
89
quest::crosszonemoveinstancebyguildid(int guild_id, uint16 instance_id)
90
quest::crosszoneremovespellbycharid(int character_id, uint32 spell_id)
91
quest::crosszoneremovespellbygroupid(int group_id, uint32 spell_id)
92
quest::crosszoneremovespellbyraidid(int raid_id, uint32 spell_id)
93
quest::crosszoneremovespellbyguildid(int guild_id, uint32 spell_id)
94
quest::crosszoneresetactivitybycharid(int character_id, uint32 task_id, int activity_id)
95
quest::crosszoneresetactivitybygroupid(int group_id, uint32 task_id, int activity_id)
96
quest::crosszoneresetactivitybyraidid(int raid_id, uint32 task_id, int activity_id)
97
quest::crosszoneresetactivitybyguildid(int guild_id, uint32 task_id, int activity_id)
98
quest::crosszoneupdateactivitybycharid(int character_id, uint32 task_id, int activity_id, int activity_count)
99
quest::crosszoneupdateactivitybygroupid(int group_id, uint32 task_id, int activity_id, int activity_count)
100
quest::crosszoneupdateactivitybyraidid(int raid_id, uint32 task_id, int activity_id, int activity_count)
101
quest::crosszoneupdateactivitybyguildid(int guild_id, uint32 task_id, int activity_id, int activity_count)
102
quest::debug(string message, [uint8 debug_level = 1 [1-3]])
103
quest::delete_data(string bucket_key)
104
quest::delglobal(string key)
105
quest::depop(int npc_type_id = 0)
106
quest::depop_withtimer(int npc_type_id = 0)
107
quest::depopall(int npc_type_id = 0)
108
quest::depopzone([bool start_spawn_status = false])
109
quest::ding()
110
quest::disable_proximity_say()
111
quest::disable_spawn2(int spawn2_id)
112
quest::disablerecipe(int recipe_id)
113
quest::disabletask(int task_id, 2, 3, [up to 10])
114
quest::doanim(int animation_id)
115
quest::echo(int emote_color_id, string message)
116
quest::emote(string message)
117
quest::enable_proximity_say()
118
quest::enable_spawn2(int spawn2_id)
119
quest::enabledtaskcount(int task_set)
120
quest::enablerecipe(int recipe_id)
121
quest::enabletask(int task_id, 2, 3, [up to 10])
122
quest::enabletitle(int title_set_id)
123
quest::exp(int amount)
124
quest::faction(int faction_id, int value, [int temp = 0])
125
quest::factionvalue()
126
quest::failtask(int task_id)
127
quest::firsttaskinset(int task_set)
128
quest::follow(int entity_id, [int distance = 10])
129
quest::forcedoorclose(int door_id, [bool alt_mode = 0])
130
quest::forcedooropen(int door_id, [int alt_mode=0])
131
quest::getcharnamebyid(uint32 char_id)
132
quest::getcharidbyname(string name)
133
quest::getclassname(uint8 class_id, [uint8 level = 0])
134
quest::getcurrencyid(uint32 item_id)
135
quest::getcurrencyitemid(int currency_id)
136
quest::get_data(string bucket_key)
137
quest::get_data_expires(string bucket_key)
138
quest::get_rule(string rule_name)
139
quest::get_spawn_condition(string zone_short, [int instance_id], int condition_id)
140
quest::getguildnamebyid(uint32 guild_id)
141
quest::getinventoryslotid(string identifier)
142
quest::getitemname(uint32 item_id)
143
quest::getlevel(int type)
144
quest::getnpcnamebyid(uint32 npc_id)
145
quest::getplayerburiedcorpsecount(int character_id)
146
quest::getplayercorpsecount(uint32 char_id)
147
quest::getplayercorpsecountbyzoneid(uint32 char_id, uint32 zone_id)
148
quest::getracename(uint16 race_id)
149
quest::getskillname(int skill_id)
150
quest::getspellname(uint32 spell_id)
151
quest::gettaskactivitydonecount(int task_id, int activity_id)
152
quest::gettaskname(uint32 task_id)
153
quest::givecash(int copper, int silver, int gold, int platinum)
154
quest::gmmove(float X, float Y, float Z)
155
quest::gmsay(string message, [int color_id], [bool send_to_world = 0])
156
quest::has_zone_flag(uint32 zone_id)
157
quest::incstat(int stat_id, int value)
158
quest::isdisctome(int item_id)
159
quest::isdooropen(int door_id)
160
quest::istaskappropriate(int task_id)
161
quest::istaskactive(int task_id)
162
quest::istaskactivityactive(int task_id, int activity_id)
163
quest::istaskcompleted(int task_id)
164
quest::istaskenabled(int task_id)
165
quest::itemlink(int item_id)
166
quest::lasttaskinset(int task_set)
167
quest::level(int new_level)
168
quest::me(string message)
169
quest::movegrp(int zone_id, float X, float Y, float Z)
170
quest::movepc(int zone_id, float X, float Y, float Z [float heading])
171
quest::moveto(float X, float Y, float Z, [float heading], [bool save_guard_location])
172
quest::nexttaskinset(int task_set, int task_id)
173
quest::npcfeature(string feature [race|gender|texture|helm|haircolor|beardcolor|eyecolor1|eyecolor2|hair|face|beard|heritage|tatoo|details|size], int value)
174
quest::npcgender(int gender_id)
175
quest::npcrace(int race_id)
176
quest::npcsize(int size)
177
quest::npctexture(int texture_id)
178
quest::pause(int duration-ms)
179
quest::permaclass(int class_id)
180
quest::permagender(int gender_id)
181
quest::permarace(int race_id)
182
quest::playerfeature(string feature [race|gender|texture|helm|haircolor|beardcolor|eyecolor1|eyecolor2|hair|face|beard|heritage|tatoo|details|size], int setting)
183
quest::playergender(int gender_id)
184
quest::playerrace(int race_id)
185
quest::playersize(int newsize)
186
quest::playertexture(int texture_id)
187
quest::popup(string window_title, string message, int popup_id, int buttons, int duration)
188
quest::processmobswhilezoneempty(int on/off)
189
quest::pvp(string mode [on|off])
190
quest::qs_player_event(int character_id, string message)
191
quest::qs_send_query(string query)
192
quest::rain(int weather)
193
quest::rebind(int zone_id, float X, float Y, float Z)
194
quest::removeitem(int item_id, [int quantity = 1])
195
quest::removetitle(int title_set_id)
196
quest::repopzone()
197
quest::resettaskactivity(int task_id, int activity_id)
198
quest::respawn(int npc_type_id, int grid_id)
199
quest::resume()
200
quest::safemove()
201
quest::save()
202
quest::say(string message, [int language_id], [int message_type], [int speak_mode], [int journal_mode])
203
quest::saylink(string message, [bool silent = false], [link_name = message])
204
quest::scribespells(int max_level, [int min_level = 1])
205
quest::selfcast(int spell_id)
206
quest::set_data(string key, string value, [string expires_at = 0])
207
quest::set_proximity(float min_x, float max_x, float min_y, float max_y, [float min_z], [float max_z], [say])
208
quest::set_rule(string rule_name, string rule_value)
209
quest::set_zone_flag(uint32 zone_id)
210
quest::setallskill(int value)
211
quest::setanim(int npc_type_id, int appearance_number[0-4])
212
quest::setglobal(stirng key, string value, int options, string duration)
213
quest::setguild(int guild_id, int guild_rank_id)
214
quest::sethp(int mob_health_percentage [0-100])
215
quest::setlanguage(int skill_id, int value)
216
quest::setnexthpevent(int at_mob_percentage)
217
quest::setnextinchpevent(int at_mob_percentage)
218
quest::setskill(int skill_id, int value)
219
quest::setsky(uint8 sky)
220
quest::setstat(stat_id, int_value)
221
quest::settarget(string target_enum ['npc_type', 'entity'], int target_id)
222
quest::settime(int new_hour, int new_min, [bool update_world = true])
223
quest::settimer(string timer_name, int seconds)
224
quest::settimerMS(string timer_name, int milliseconds)
225
quest::sfollow()
226
quest::shout(string message)
227
quest::shout2(string message)
228
quest::showgrid(int grid_id)
229
quest::signal(int npc_id, [int wait_ms])
230
quest::signalwith(int npc_id, int signal_id, [int wait_ms])
231
quest::snow(int weather)
232
quest::spawn(int npc_type_id, int grid_id, int int_unused, float X, float Y, float Z)
233
quest::spawn2(int npc_type_id, int grid_id, int int_unused, float X, float Y, float Z, float heading)
234
quest::spawn_condition(string zone_short, [int instance_id], uint16 condition_id, int16 value)
235
quest::spawn_from_spawn2(int spawn2_id)
236
quest::start(int waypoint)
237
quest::stop()
238
quest::stopalltimers()
239
quest::stoptimer(string timer_name)
240
quest::summonallplayercorpses(int char_id, float dest_x, float dest_y, float dest_z, float dest_heading)
241
quest::summonburiedplayercorpse(uint32 char_id, float dest_x, float dest_y, float dest_z, float dest_heading)
242
quest::summonitem(int item_id, [int charges])
243
quest::surname(string name)
244
quest::targlobal(stirng key, string value, string duration, int npc_id, int chararacter_id, int zone_id)
245
quest::task_setselector(int task_set_id)
246
quest::taskexplorearea(int explore_id)
247
quest::taskselector(int task_id, 2, 3, 4, 5 [up to 40])
248
quest::tasktimeleft(int task_id)
249
quest::toggle_spawn_event(uint32 event_id, [bool is_enabled = false], [bool is_strict = false], [bool reset_base = false])
250
quest::toggledoorstate(int door_id)
251
quest::traindisc(int tome_item_id)
252
quest::traindiscs(int max_level, [int min_level = 1])
253
quest::unique_spawn(int npc_type_id, int grid_id, int int_unused, float X, float Y, float Z, [float heading])
254
quest::unscribespells()
255
quest::untraindiscs()
256
quest::updatetaskactivity(int task_id, int activity_id, [int count], [bool ignore_quest_update = false])
257
quest::varlink(uint32 item_id)
258
quest::voicetell(string client_name, int macro_id, int ace_id, int gender_id)
259
quest::we(int emote_color_id, string message)
260
quest::wearchange(uint8 slot, uint16 texture_id, [uint32 hero_forge_model_id = 0], [uint32 elite_material_id = 0])
261
quest::worldwideassigntask(uint32 task_id, bool enforce_level_requirement, uint8 min_status, uint8 max_status)
262
quest::worldwidecastspell(uint32 spell_id, uint8 min_status, uint8 max_status)
263
quest::worldwidedisabletask(uint32 task_id, uint8 min_status, uint8 max_status)
264
quest::worldwideenabletask(uint32 task_id, uint8 min_status, uint8 max_status)
265
quest::worldwidefailtask(uint32 task_id, uint8 min_status, uint8 max_status)
266
quest::worldwidemessage(uint32 type, string message, uint8 min_status, uint8 max_status)
267
quest::worldwidemarquee(uint32 color_id, uint32 priority, uint32 fade_in, uint32 fade_out, uint32 duration, string message, uint8 min_status, uint8 max_status)
268
quest::worldwidemove(string zone_short_name, uint8 min_status, uint8 max_status)
269
quest::worldwidemoveinstance(uint16 instance_id, uint8 min_status, uint8 max_status)
270
quest::worldwideremovespell(uint32 spell_id, uint8 min_status, uint8 max_status)
271
quest::worldwideremovetask(uint32 task_id, uint8 min_status, uint8 max_status)
272
quest::worldwideresetactivity(uint32 task_id, int activity_id, uint8 min_status, uint8 max_status)
273
quest::worldwidesetentityvariableclient(string variable_name, string variable_value, uint8 min_status, uint8 max_status)
274
quest::worldwidesetentityvariablenpc(string variable_name, string variable_value)
275
quest::worldwidesignalclient(uint32 signal, uint8 min_status, uint8 max_status)
276
quest::worldwidesignalnpc(uint32 signal)
277
quest::worldwideupdateactivity(uint32 task_id, int activity_id, int activity_count, uint8 min_status, uint8 max_status)
278
quest::write(string file_name, string message)
279
quest::ze(int emote_color_id, string message)
280
quest::zone(string zone_name)
281
quest::zonegroup(string zone_name)
282
quest::zoneraid(string zone_name)
Copied!
1
eq.active_speak_activity(int task_id); -- int
2
eq.active_speak_task(); -- int
3
eq.active_tasks_in_set(int task_set); -- int
4
eq.add_area(int id, int type, float min_x, float max_x, float min_y, float max_y, float min_z, float max_z); -- void
5
eq.assign_group_to_instance(uint32 instance_id); -- void
6
eq.assign_raid_to_instance(uint32 instance_id); -- void
7
eq.assign_task(int task_id); -- void
8
eq.assign_to_instance(uint32 instance_id); -- void
9
eq.assign_to_instance_by_char_id(uint32 instance_id, uint32 char_id); -- void
10
eq.attack(const char *client_name); -- void
11
eq.attack_npc(int entity_id); -- void
12
eq.attack_npc_type(int npc_type); -- void
13
eq.bury_player_corpse(uint32 char_id); -- bool
14
eq.check_instance_id_by_char_id(uint16 instance_id, uint32 char_id); -- bool
15
eq.check_title(uint32 title_set); -- void
16
eq.clear_areas(); -- void
17
eq.clear_npctype_cache(int npctype_id); -- void
18
eq.clear_opcode(int op); -- void
19
eq.clear_proximity(); -- void
20
eq.clear_spawn_timers(); -- void
21
eq.clock(); -- double
22
eq.collect_items(uint32 item_id, bool remove); -- int
23
eq.completed_tasks_in_set(int task_set); -- int
24
eq.count_item(uint32 item_id); -- int
25
eq.create_door(const char *model, float x, float y, float z, float h, int open_type, int size); -- void
26
eq.create_ground_object(uint32 item_id, float x, float y, float z, float h); -- void
27
eq.create_ground_object(uint32 item_id, float x, float y, float z, float h, uint32 decay_time); -- void
28
eq.create_ground_object_from_model(const char *model, float x, float y, float z, float h); -- void
29
eq.create_ground_object_from_model(const char *model, float x, float y, float z, float h, int type); -- void
30
eq.create_ground_object_from_model(const char *model, float x, float y, float z, float h, int type, uint32 decay_time); -- void
31
eq.create_guild(const char *name, const char *leader); -- void
32
eq.create_instance(const char *zone, uint32 version, uint32 duration); -- uint32
33
eq.cross_zone_cast_spell_by_char_id(character_id, spell_id, min_status, max_status); -- void
34
eq.cross_zone_cast_spell_by_group_id(group_id, spell_id, min_status, max_status); -- void
35
eq.cross_zone_cast_spell_by_raid_id(raid_id, spell_id, min_status, max_status); -- void
36
eq.cross_zone_cast_spell_by_guild_id(guild_id, spell_id, min_status, max_status); -- void
37
eq.cross_zone_disable_task_by_char_id(character_id, task_id, min_status, max_status); -- void
38
eq.cross_zone_disable_task_by_group_id(group_id, task_id, min_status, max_status); -- void
39
eq.cross_zone_disable_task_by_raid_id(raid_id, task_id, min_status, max_status); -- void
40
eq.cross_zone_disable_task_by_guild_id(guild_id, task_id, min_status, max_status); -- void
41
eq.cross_zone_enable_task_by_char_id(character_id, task_id, min_status, max_status); -- void
42
eq.cross_zone_enable_task_by_group_id(group_id, task_id, min_status, max_status); -- void
43
eq.cross_zone_enable_task_by_raid_id(raid_id, task_id, min_status, max_status); -- void
44
eq.cross_zone_enable_task_by_guild_id(guild_id, task_id, min_status, max_status); -- void
45
eq.cross_zone_fail_task_by_char_id(character_id, task_id, min_status, max_status); -- void
46
eq.cross_zone_fail_task_by_group_id(group_id, task_id, min_status, max_status); -- void
47
eq.cross_zone_fail_task_by_raid_id(raid_id, task_id, min_status, max_status); -- void
48
eq.cross_zone_fail_task_by_guild_id(guild_id, task_id, min_status, max_status); -- void
49
eq.cross_zone_move_instance_by_char_id(character_id, instance_id, min_status, max_status); -- void
50
eq.cross_zone_move_instance_by_group_id(group_id, instance_id, min_status, max_status); -- void
51
eq.cross_zone_move_instance_by_raid_id(raid_id, instance_id, min_status, max_status); -- void
52
eq.cross_zone_move_instance_by_guild_id(guild_id, instance_id, min_status, max_status); -- void
53
eq.cross_zone_remove_spell_by_char_id(character_id, spell_id, min_status, max_status); -- void
54
eq.cross_zone_remove_spell_by_group_id(group_id, spell_id, min_status, max_status); -- void
55
eq.cross_zone_remove_spell_by_raid_id(raid_id, spell_id, min_status, max_status); -- void
56
eq.cross_zone_remove_spell_by_guild_id(guild_id, spell_id, min_status, max_status); -- void
57
eq.cross_zone_reset_activity_by_char_id(character_id, task_id, activity_id, min_status, max_status); -- void
58
eq.cross_zone_reset_activity_by_group_id(group_id, task_id, activity_id, min_status, max_status); -- void
59
eq.cross_zone_reset_activity_by_raid_id(raid_id, task_id, activity_id, min_status, max_status); -- void
60
eq.cross_zone_reset_activity_by_guild_id(guild_id, task_id, activity_id, min_status, max_status); -- void
61
eq.cross_zone_update_activity_by_char_id(character_id, task_id, activity_id, activity_count, min_status, max_status); -- void
62
eq.cross_zone_update_activity_by_group_id(group_id, task_id, activity_id, activity_count, min_status, max_status); -- void
63
eq.cross_zone_update_activity_by_raid_id(raid_id, task_id, activity_id, activity_count, min_status, max_status); -- void
64
eq.cross_zone_update_activity_by_guild_id(guild_id, task_id, activity_id, activity_count, min_status, max_status); -- void
65
eq.debug(std::string message); -- void
66
eq.debug(std::string message, int level); -- void
67
eq.delete_data(std::string bucket_key); -- bool
68
eq.delete_global(const char *name); -- void
69
eq.depop(); -- void
70
eq.depop(int npc_type); -- void
71
eq.depop_all(); -- void
72
eq.depop_all(int npc_type); -- void
73
eq.depop_with_timer(); -- void
74
eq.depop_with_timer(int npc_type); -- void
75
eq.depop_zone(bool start_spawn_status); -- void
76
eq.destroy_instance(uint32 instance_id); -- void
77
eq.disable_proximity_say(); -- void
78
eq.disable_recipe(uint32 recipe_id); -- bool
79
eq.disable_spawn2(int spawn2_id); -- void
80
eq.enable_proximity_say(); -- void
81
eq.enable_recipe(uint32 recipe_id); -- bool
82
eq.enable_spawn2(int spawn2_id); -- void
83
eq.enable_title(uint32 title_set); -- void
84
eq.enabled_task_count(int task_set); -- int
85
eq.faction_value(); -- int
86
eq.fail_task(int task_id); -- void
87
eq.first_task_in_set(int task_set); -- int
88
eq.flag_instance_by_group_leader(uint32 zone, uint32 version); -- void
89
eq.flag_instance_by_raid_leader(uint32 zone, uint32 version); -- void
90
eq.fly_mode(int flymode); -- void
91
eq.follow(int entity_id); -- void
92
eq.follow(int entity_id, int distance); -- void
93
eq.get_char_name_by_id(uint32 char_id); -- std::string
94
eq.get_char_id_by_name(string name); -- int
95
eq.get_class_name(uint8 class_id, uint8 level); -- std::string
96
eq.get_currency_id(uint32 item_id); -- int
97
eq.get_currency_item_id(int currency_id); -- int
98
eq.get_data(std::string bucket_key); -- std::string
99
eq.get_data_expires(std::string bucket_key); -- std::string
100
eq.get_encounter(); -- std::string
101
eq.get_entity_list(); -- Lua_EntityList
102
eq.get_initiator(); -- Lua_Client
103
eq.get_instance_id(const char *zone, uint32 version); -- int
104
eq.get_instance_id_by_char_id(const char *zone, uint32 version, uint32 char_id); -- int
105
eq.get_instance_timer(); -- uint32
106
eq.get_instance_timer_by_id(uint16 instance_id); -- uint32
107
eq.get_item_name(uint32 item_id) -- std::string
108
eq.get_level(int type); -- int
109
eq.get_npc_name_by_id(uint32 npc_id); -- std::string
110
eq.get_owner(); -- Lua_Mob
111
eq.get_player_buried_corpse_count(uint32 char_id); -- int
112
eq.get_player_corpse_count(uint32 char_id); -- int
113
eq.get_player_corpse_count_by_zone_id(uint32 char_id, uint32 zone_id); -- int
114
eq.get_quest_item(); -- Lua_ItemInst
115
eq.get_race_name(uint16 race_id) -- std::stringgeq.get_rule(std::string rule_name); -- std::string
116
eq.get_spawn_condition(const char *zone, uint32 instance_id, int condition_id); -- int
117
eq.get_skill_name(int skill_id); -- std::string
118
eq.get_spell_name(uint32 spell_id); -- std::string
119
eq.get_task_activity_done_count(int task, int activity); -- int
120
eq.get_task_name(uint32 task_id); -- std::string
121
eq.get_zone_id(); -- int
122
eq.get_zone_instance_id(); -- int
123
eq.get_zone_instance_version(); -- int
124
eq.get_zone_weather(); -- int
125
eq.is_disc_tome(int item_id); -- bool
126
eq.is_paused_timer(const char *timer); -- bool
127
eq.is_task_active(int task); -- bool
128
eq.is_task_activity_active(int task, int activity); -- bool
129
eq.is_task_appropriate(int task); -- bool
130
eq.is_task_completed(int task_id); -- int
131
eq.is_task_enabled(int task); -- bool
132
eq.item_link(int item_id); -- std::string
133
eq.last_task_in_set(int task_set); -- int
134
eq.map_opcodes(); -- void
135
eq.merchant_count_item(uint32 npc_id, uint32 item_id); -- int
136
eq.merchant_set_item(uint32 npc_id, uint32 item_id); -- void
137
eq.merchant_set_item(uint32 npc_id, uint32 item_id, uint32 quantity); -- void
138
eq.modify_npc_stat(const char *id, const char *value); -- void
139
eq.move_to(float x, float y, float z); -- void
140
eq.move_to(float x, float y, float z, float h); -- void
141
eq.move_to(float x, float y, float z, float h, bool save_guard_spot); -- void
142
eq.next_task_in_set(int task_set, int task_id); -- int
143
eq.path_resume(); -- void
144
eq.pause(int duration); -- void
145
eq.pause_timer(const char *timer); -- void
146
eq.popup(const char *title, const char *text, uint32 id, uint32 buttons, uint32 duration); -- void
147
eq.process_mobs_while_zone_empty(bool on); -- void
148
eq.rain(int weather); -- void
149
eq.reloadzonestaticdata(); -- void
150
eq.remove_all_from_instance(uint32 instance_id); -- void
151
eq.remove_area(int id); -- void
152
eq.remove_from_instance(uint32 instance_id); -- void
153
eq.remove_from_instance_by_char_id(uint32 instance_id, uint32 char_id); -- void
154
eq.remove_spawn_point(uint32 spawn2_id); -- void
155
eq.remove_item(uint32 item_id); -- void
156
eq.remove_item(uint32 item_id, uint32 quantity); -- void
157
eq.remove_title(uint32 title_set); -- void
158
eq.repop_zone(); -- void
159
eq.reset_task_activity(int task, int activity); -- void
160
eq.respawn(int npc_type, int grid); -- void
161
eq.resume_timer(const char *timer); -- void
162
eq.safe_move(); -- void
163
eq.say_link(const char *phrase); -- std::string
164
eq.say_link(const char *phrase, bool silent); -- std::string
165
eq.say_link(const char *phrase, bool silent, const char *link_name); -- std::string
166
eq.scribe_spells(int max); -- int
167
eq.scribe_spells(int max, int min); -- int
168
eq.send_mail(const char *to, const char *from, const char *subject, const char *message); -- void
169
eq.set_anim(int npc_type, int anim_num); -- void
170
eq.set_data(std::string bucket_key, std::string bucket_value); -- void
171
eq.set_data(std::string bucket_key, std::string bucket_value, std::string expires_at); -- void
172
eq.set_global(const char *name, const char *value, int options, const char *duration); -- void
173
eq.set_guild(int guild_id, int rank); -- void
174
eq.set_next_hp_event(int hp); -- void
175
eq.set_next_inc_hp_event(int hp); -- void
176
eq.set_proximity(float min_x, float max_x, float min_y, float max_y); -- void
177
eq.set_proximity(float min_x, float max_x, float min_y, float max_y, float min_z, float max_z); -- void
178
eq.set_proximity(float min_x, float max_x, float min_y, float max_y, float min_z, float max_z, bool say); -- void
179
eq.set_rule(std::string rule_name, std::string rule_value); -- void
180
eq.set_sky(int sky); -- void
181
eq.set_time(int hour, int min); -- void
182
eq.set_time(int hour, int min, bool update_world); -- void
183
eq.set_timer(const char *timer, int time_ms); -- void
184
eq.set_timer(const char *timer, int time_ms, Lua_Encounter enc); -- void
185
eq.set_timer(const char *timer, int time_ms, Lua_ItemInst inst); -- void
186
eq.set_timer(const char *timer, int time_ms, Lua_Mob mob); -- void
187
eq.signal(int npc_id, int signal_id); -- void
188
eq.signal(int npc_id, int signal_id, int wait); -- void
189
eq.snow(int weather); -- void
190
eq.spawn2(int npc_type, int grid, int unused, double x, double y, double z, double heading); -- Lua_Mob
191
eq.spawn_condition(const char *zone, uint32 instance_id, int condition_id, int value); -- void
192
eq.spawn_from_spawn2(uint32 spawn2_id); -- Lua_Mob
193
eq.start(int wp); -- void
194
eq.stop(); -- void
195
eq.stop_all_timers(); -- void
196
eq.stop_all_timers(Lua_Encounter enc); -- void
197
eq.stop_all_timers(Lua_ItemInst inst); -- void
198
eq.stop_all_timers(Lua_Mob mob); -- void
199
eq.stop_follow(); -- void
200
eq.stop_timer(const char *timer); -- void
201
eq.stop_timer(const char *timer, Lua_Encounter enc); -- void
202
eq.stop_timer(const char *timer, Lua_ItemInst inst); -- void
203
eq.stop_timer(const char *timer, Lua_Mob mob); -- void
204
eq.summon_all_player_corpses(uint32 char_id, float x, float y, float z, float h); -- void
205
eq.summon_buried_player_corpse(uint32 char_id, float x, float y, float z, float h); -- void
206
eq.target_global(const char *name, const char *value, const char *duration, int npc_id, int char_id, int zone_id); -- void
207
eq.task_explored_area(int explore_id); -- void
208
eq.task_set_selector(int task_set); -- void
209
eq.task_time_left(int task_id); -- int
210
eq.toggle_spawn_event(int event_id, bool enable, bool strict, bool reset); -- void
211
eq.train_discs(int max); -- int
212
eq.train_discs(int max, int min); -- int
213
eq.unique_spawn(int npc_type, int grid, int unused, double x, double y, double z, double heading = 0.0); -- Lua_Mob
214
eq.update_instance_timer(uint16 instance_id, uint32 new_duration); -- void
215
eq.update_spawn_timer(uint32 id, uint32 new_time); -- void
216
eq.update_task_activity(int task, int activity, int count); -- void
217
eq.update_zone_header(std::string type, std::string value); -- void
218
eq.voice_tell(const char *str, uint32 macro_num, uint32 race_num, uint32 gender_num); -- void
219
eq.wear_change(uint32 slot, uint32 texture); -- void
220
eq.world_emote(int type, const char *str); -- void
221
eq.world_wide_assign_task(uint32 task_id, bool enforce_level_requirement, uint8 min_status, uint8 max_status); -- void
222
eq.world_wide_cast_spell(uint32 spell_id, uint8 min_status, uint8 max_status); -- void
223
eq.world_wide_disable_task(uint32 task_id, uint8 min_status, uint8 max_status); -- void
224
eq.world_wide_enable_task(uint32 task_id, uint8 min_status, uint8 max_status); -- void
225
eq.world_wide_fail_task(uint32 task_id, uint8 min_status, uint8 max_status); -- void
226
eq.world_wide_message(uint32 type, string message, uint8 min_status, uint8 max_status); -- void
227
eq.world_wide_marquee(uint32 color_id, uint32 priority, uint32 fade_in, uint32 fade_out, uint32 duration, string message, uint8 min_status, uint8 max_status); -- void
228
eq.world_wide_move(string zone_short_name, uint8 min_status, uint8 max_status); -- void
229
eq.world_wide_move_instance(uint16 instance_id, uint8 min_status, uint8 max_status); -- void
230
eq.world_wide_remove_spell(uint32 spell_id, uint8 min_status, uint8 max_status); -- void
231
eq.world_wide_remove_task(uint32 task_id, uint8 min_status, uint8 max_status); -- void
232
eq.world_wide_reset_activity(uint32 task_id, int activity_id, uint8 min_status, uint8 max_status); -- void
233
eq.world_wide_set_entity_variable_client(string variable_name, string variable_value, uint8 min_status, uint8 max_status); -- void
234
eq.world_wide_set_entity_variable_npc(string variable_name, string variable_value); -- void
235
eq.world_wide_signal_client(uint32 signal, uint8 min_status, uint8 max_status); -- void
236
eq.world_wide_signal_npc(uint32 signal); -- void
237
eq.world_wide_update_activity(uint32 task_id, int activity_id, int activity_count, uint8 min_status, uint8 max_status); -- void
238
eq.zone(const char *zone_name); -- void
239
eq.zone_emote(int type, const char *str); -- void
240
eq.zone_group(const char *zone_name); -- void
241
eq.zone_raid(const char *zone_name); -- void
Copied!

ProTip: hit ctrl + f (Windows) or ⌘ + f (Mac) to FIND something on this page

AssignGroupToInstance

1
**Parmeter:**
2
3
instance\_id _\(uint16\)_
4
5
**Usage:**
6
7
Assigns a group to an instance.
8
9
**Example:**
Copied!
1
#:: Create a scalar variable to store instance_id--GetInstanceID returns int
2
my $Instance = quest::GetInstanceID($zonesn, $instanceversion);
3
quest::AssignGroupToInstance($Instance);
Copied!

AssignRaidToInstance

1
**Parmeter:**
2
3
instance\_id _\(uint16\)_
4
5
**Usage:**
6
7
Assigns a raid to an instance.
8
9
**Example:**
Copied!
1
#:: Create a scalar variable to store instance_id
2
my $Instance = quest::GetInstanceID($zonesn, $instanceversion); #:: GetInstanceID returns int
3
quest::AssignRaidToInstance($Instance);
Copied!

AssignToInstance

1
**Parameter:**
2
3
instance\_id _\(uint16\)_
4
5
**Usage:**
6
7
Assigns a single player to an instance.
8
9
**Example**
Copied!
1
#:: Create a scalar variable to store instance_id
2
my $Instance = quest::GetInstanceID($zonesn, $instanceversion); #:: GetInstanceID returns int
3
quest::AssignToInstance($Instance);
Copied!

AssignToInstanceByCharID

1
**Parameter:**
2
3
instance\_id _\(uint16\)_, char\_id _\(uint32\)_
4
5
**Usage:**
6
7
Assigns a single player to an instance by character ID.
8
9
**Example**
Copied!
1
#:: Create a scalar variable to store instance_id
2
my $Instance = quest::GetInstanceIDByCharID($zonesn, $instanceversion, $charid); #:: Returns int
3
quest::AssignToInstanceByCharID($Instance, $charid);
Copied!

ChooseRandom

1
**Parameter\(s\):**
2
3
option1, option2, option3...
4
5
**Usage:**
6
7
Returns one of the items listed in its arguments randomly.
8
9
**Example:**
Copied!
1
#:: Choose a random reward: 1001 - Cloth Cap, 1004 - Cloth Shirt, 1011 - Cloth Pants
2
quest::summonitem(quest::ChooseRandom(1001, 1004, 1011);
Copied!

CreateInstance

1
**Parameter\(s\):**
2
3
zone\_name _\(string\)_, version _\(uint16\)_, duration _\(uint32\)_
4
5
**Usage:**
6
7
Creates an instance in the given zone using specified version and duration.
8
9
**Example:**
Copied!
1
quest::CreateInstance("mirb", 50, 10800);
Copied!

DestroyInstance

1
**Parameter\(s\):**
2
3
instance\_id _\(uint16\)_
4
5
**Usage:**
6
7
Destroys the given instance.
8
9
**Example:**
Copied!
1
quest::DestroyInstance(50);
Copied!

FlagInstanceByGroupLeader

1
**Parameter\(s\):**
2
3
zone _\(uint32\)_, version _\(uint16\)_
4
5
**Usage:**
6
7
Assigns the group leader's instance to a player
8
9
**Example:**
Copied!
1
#:: Zone 237 (mirb), instance 50
2
quest::FlagInstanceByGroupLeader(237,50);
Copied!

FlagInstanceByRaidLeader

1
**Parameter\(s\):**
2
3
zone _\(uint32\)_, version _\(uint16\)_
4
5
**Usage:**
6
7
Assigns the raid leader's instance to a player
8
9
**Example:**
Copied!
1
#:: Zone 237 (mirb), instance 50
2
quest::FlagInstanceByRaidLeader(237,50);
Copied!

FlyMode

1
**Parameter\(s\):**
2
3
mode \[0-3\] _\(uint8\)_
4
5
**Usage:**
6
7
Sets flymode for player where 0 = Off, 1 = On, 2 = Levitate.
8
9
**Example:**
Copied!
1
#:: Turn fly mode on
2
quest::FlyMode(1);
Copied!

GetCharactersInInstance

1
**Parameter\(s\):**
2
3
instance\_id _\(uint16\)_
4
5
**Usage:**
6
7
Returns a hash of character id and instance id
8
9
**Example:**
Copied!
1
#:: Instance ID 50
2
quest::GetCharactersInInstance(50); #:: Returns 50,123456
Copied!

GetInstanceID

1
**Parameter\(s\):**
2
3
zone\_name _\(string\)_, version _\(uint16\)_
4
5
**Usage:**
6
7
Returns the instance id of the given zone/verison.
8
9
**Example**
Copied!
1
#:: Create a scalar variable to store instance_id
2
my $Instance = quest::GetInstanceID($zonesn, $instanceversion); #:: Returns uint16
3
quest::AssignToInstance($Instance);
Copied!

GetInstanceIDByCharID

1
**Parameter\(s\):**
2
3
zone\_name _\(string\)_, version _\(int16\)_, char\_id _\(uint32\)_
4
5
**Usage:**
6
7
Returns the instance ID of the given zone and version by character ID.
8
9
**Example**
Copied!
1
#:: Create a scalar variable to store instance_id
2
my $Instance = quest::GetInstanceIDByCharID($zonesn, $instanceversion, $charid); #:: Returns uint16
3
quest::AssignToInstance($Instance);
Copied!

GetInstanceTimer

1
**Parameter\(s\):**
2
3
None.
4
5
**Usage:**
6
7
Returns the timer for the instance.
8
9
**Example**
Copied!
1
quest::GetInstanceTimer(); #:: Returns uint32