AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
zone_silverpine_forest.cpp File Reference
#include "CreatureScript.h"
#include "PassiveAI.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptedEscortAI.h"

Go to the source code of this file.

Classes

class  npc_deathstalker_erland
 
struct  npc_deathstalker_erland::npc_deathstalker_erlandAI
 
class  pyrewood_ambush
 
struct  pyrewood_ambush::pyrewood_ambushAI
 
class  npc_ravenclaw_apparition
 
struct  npc_ravenclaw_apparition::npc_ravenclaw_apparitionAI
 

Macros

#define WAIT_SECS   6000
 

Enumerations

enum  Erland {
  SAY_QUESTACCEPT = 0 ,
  SAY_START = 1 ,
  SAY_AGGRO = 2 ,
  SAY_PROGRESS = 3 ,
  SAY_LAST = 4 ,
  SAY_RANE = 0 ,
  SAY_RANE_ANSWER = 5 ,
  SAY_MOVE_QUINN = 6 ,
  SAY_QUINN = 7 ,
  SAY_QUINN_ANSWER = 0 ,
  SAY_BYE = 8 ,
  QUEST_ESCORTING = 435 ,
  NPC_RANE = 1950 ,
  NPC_QUINN = 1951
}
 
enum  PyrewoodAmbush {
  QUEST_PYREWOOD_AMBUSH = 452 ,
  NPCSAY_INIT = 0 ,
  NPCSAY_END = 1
}
 
enum  ApparitionMisc {
  NPC_GNOLL_RUNNER = 1772 ,
  NPC_GNOLL_MYSTIC = 1773 ,
  EMOTE_CHEER = 71 ,
  EMOTE_GNOLL_CHEER = 1 ,
  SAY_APPA_INTRO = 0 ,
  SAY_APPA_OUTRO = 14 ,
  SAY_APPA_OPTION_1_1 = 1 ,
  SAY_APPA_OPTION_1_2 = 5 ,
  SAY_APPA_OPTION_1_3 = 10 ,
  SAY_APPA_OPTION_1_4 = 13 ,
  SAY_APPA_OPTION_2_1 = 2 ,
  SAY_APPA_OPTION_2_2 = 5 ,
  SAY_APPA_OPTION_2_3 = 9 ,
  SAY_APPA_OPTION_2_4 = 12
}
 
enum  ApparitionEvents {
  EVENT_APPA_INTRO = 1 ,
  EVENT_APPA_SAY_1 = 2 ,
  EVENT_APPA_SAY_2 = 3 ,
  EVENT_APPA_SAY_3 = 4 ,
  EVENT_APPA_SAY_4 = 5 ,
  EVENT_APPA_OUTRO = 6 ,
  EVENT_APPA_OUTRO_CROWD = 7 ,
  EVENT_APPA_OUTRO_END = 8
}
 

Functions

void AddSC_silverpine_forest ()
 

Variables

static float PyrewoodSpawnPoints [3][4]
 

Macro Definition Documentation

◆ WAIT_SECS

#define WAIT_SECS   6000

Enumeration Type Documentation

◆ ApparitionEvents

Enumerator
EVENT_APPA_INTRO 
EVENT_APPA_SAY_1 
EVENT_APPA_SAY_2 
EVENT_APPA_SAY_3 
EVENT_APPA_SAY_4 
EVENT_APPA_OUTRO 
EVENT_APPA_OUTRO_CROWD 
EVENT_APPA_OUTRO_END 
362{
371};
@ EVENT_APPA_OUTRO
Definition: zone_silverpine_forest.cpp:368
@ EVENT_APPA_OUTRO_CROWD
Definition: zone_silverpine_forest.cpp:369
@ EVENT_APPA_SAY_3
Definition: zone_silverpine_forest.cpp:366
@ EVENT_APPA_SAY_1
Definition: zone_silverpine_forest.cpp:364
@ EVENT_APPA_OUTRO_END
Definition: zone_silverpine_forest.cpp:370
@ EVENT_APPA_INTRO
Definition: zone_silverpine_forest.cpp:363
@ EVENT_APPA_SAY_2
Definition: zone_silverpine_forest.cpp:365
@ EVENT_APPA_SAY_4
Definition: zone_silverpine_forest.cpp:367

◆ ApparitionMisc

Todo:
: Actual emote and BroadcastTextId need to be sniffed. Probably the entire event to begin with.... There is a possibility that the unused texts are chosen by random for specific parts of the speech. (making it look like they are preset, when in fact, they are not)
Enumerator
NPC_GNOLL_RUNNER 
NPC_GNOLL_MYSTIC 
EMOTE_CHEER 
EMOTE_GNOLL_CHEER 
SAY_APPA_INTRO 
SAY_APPA_OUTRO 
SAY_APPA_OPTION_1_1 
SAY_APPA_OPTION_1_2 
SAY_APPA_OPTION_1_3 
SAY_APPA_OPTION_1_4 
SAY_APPA_OPTION_2_1 
SAY_APPA_OPTION_2_2 
SAY_APPA_OPTION_2_3 
SAY_APPA_OPTION_2_4 
337{
338 // Crowd
339 NPC_GNOLL_RUNNER = 1772,
340 NPC_GNOLL_MYSTIC = 1773,
341 EMOTE_CHEER = 71,
343
344 // Apparition
345 SAY_APPA_INTRO = 0,
346 SAY_APPA_OUTRO = 14,
347
348 // Variation 1
353
354 // Variation 2
359};
@ SAY_APPA_OPTION_1_2
Definition: zone_silverpine_forest.cpp:350
@ SAY_APPA_INTRO
Definition: zone_silverpine_forest.cpp:345
@ SAY_APPA_OPTION_2_3
Definition: zone_silverpine_forest.cpp:357
@ SAY_APPA_OPTION_1_1
Definition: zone_silverpine_forest.cpp:349
@ SAY_APPA_OPTION_1_3
Definition: zone_silverpine_forest.cpp:351
@ SAY_APPA_OPTION_2_2
Definition: zone_silverpine_forest.cpp:356
@ EMOTE_CHEER
Definition: zone_silverpine_forest.cpp:341
@ EMOTE_GNOLL_CHEER
Definition: zone_silverpine_forest.cpp:342
@ SAY_APPA_OPTION_2_4
Definition: zone_silverpine_forest.cpp:358
@ NPC_GNOLL_RUNNER
Definition: zone_silverpine_forest.cpp:339
@ SAY_APPA_OPTION_1_4
Definition: zone_silverpine_forest.cpp:352
@ NPC_GNOLL_MYSTIC
Definition: zone_silverpine_forest.cpp:340
@ SAY_APPA_OPTION_2_1
Definition: zone_silverpine_forest.cpp:355
@ SAY_APPA_OUTRO
Definition: zone_silverpine_forest.cpp:346

◆ Erland

enum Erland
Enumerator
SAY_QUESTACCEPT 
SAY_START 
SAY_AGGRO 
SAY_PROGRESS 
SAY_LAST 
SAY_RANE 
SAY_RANE_ANSWER 
SAY_MOVE_QUINN 
SAY_QUINN 
SAY_QUINN_ANSWER 
SAY_BYE 
QUEST_ESCORTING 
NPC_RANE 
NPC_QUINN 
41{
43 SAY_START = 1,
44 SAY_AGGRO = 2,
45 SAY_PROGRESS = 3,
46 SAY_LAST = 4,
47
48 SAY_RANE = 0,
51
52 SAY_QUINN = 7,
54 SAY_BYE = 8,
55
56 QUEST_ESCORTING = 435,
57 NPC_RANE = 1950,
58 NPC_QUINN = 1951
59};
@ SAY_PROGRESS
Definition: zone_silverpine_forest.cpp:45
@ SAY_START
Definition: zone_silverpine_forest.cpp:43
@ SAY_LAST
Definition: zone_silverpine_forest.cpp:46
@ SAY_AGGRO
Definition: zone_silverpine_forest.cpp:44
@ SAY_QUINN_ANSWER
Definition: zone_silverpine_forest.cpp:53
@ SAY_MOVE_QUINN
Definition: zone_silverpine_forest.cpp:50
@ QUEST_ESCORTING
Definition: zone_silverpine_forest.cpp:56
@ NPC_QUINN
Definition: zone_silverpine_forest.cpp:58
@ SAY_RANE
Definition: zone_silverpine_forest.cpp:48
@ SAY_RANE_ANSWER
Definition: zone_silverpine_forest.cpp:49
@ SAY_BYE
Definition: zone_silverpine_forest.cpp:54
@ NPC_RANE
Definition: zone_silverpine_forest.cpp:57
@ SAY_QUESTACCEPT
Definition: zone_silverpine_forest.cpp:42
@ SAY_QUINN
Definition: zone_silverpine_forest.cpp:52

◆ PyrewoodAmbush

Enumerator
QUEST_PYREWOOD_AMBUSH 
NPCSAY_INIT 
NPCSAY_END 
143{
145 NPCSAY_INIT = 0,
146 NPCSAY_END = 1
147};
@ NPCSAY_END
Definition: zone_silverpine_forest.cpp:146
@ QUEST_PYREWOOD_AMBUSH
Definition: zone_silverpine_forest.cpp:144
@ NPCSAY_INIT
Definition: zone_silverpine_forest.cpp:145

Function Documentation

◆ AddSC_silverpine_forest()

void AddSC_silverpine_forest ( )
486{
488 new pyrewood_ambush();
490}
Definition: zone_silverpine_forest.cpp:62
Definition: zone_silverpine_forest.cpp:167
Definition: zone_silverpine_forest.cpp:374

Referenced by AddEasternKingdomsScripts().

Variable Documentation

◆ PyrewoodSpawnPoints

float PyrewoodSpawnPoints[3][4]
static
Initial value:
=
{
{-397.018219f, 1510.208740f, 18.868748f, 4.731330f},
{-397.018219f, 1510.208740f, 18.868748f, 4.731330f},
{-397.018219f, 1510.208740f, 18.868748f, 4.731330f},
}

Referenced by pyrewood_ambush::pyrewood_ambushAI::SummonCreatureWithRandomTarget().