• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Quest Variables

Status
Not open for further replies.
Level 26
Joined
Aug 18, 2009
Messages
4,099
vJass:

JASS:
globals
    quest <name>
endglobals

when your quest is created, put

JASS:
set <name> = CreateQuest()

or

JASS:
call CreateQuestBJ(...)
set <name> = bj_lastCreatedQuest

GUI:

Open variable window (Ctrl+B) --> New Variable (Ctrl+N), set a name, type to Quest --> OK --> OK

New Action (Ctrl+R) --> Set Variable (8th action from top in the All-list) --> Choose your variable on the left side and your desired quest on the right side

It's rather that the object is attached to the variable though,
 
Status
Not open for further replies.
Top