• 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.

Multi-user questlog?

Status
Not open for further replies.
Level 7
Joined
Apr 7, 2009
Messages
241
Is there any way to make multi-user questlogs(F9). So that every player in the map has separate questlogs in which they can view their current active quests? If it is not possible, then is there any other way to store and keep track of quests?
 
Level 18
Joined
Feb 28, 2009
Messages
1,971
Is there any way to make multi-user questlogs(F9). So that every player in the map has separate questlogs in which they can view their current active quests? If it is not possible, then is there any other way to store and keep track of quests?
I think you should use multiboards. It`s easier to open multiboard then go through questlog.
 
Level 7
Joined
Apr 7, 2009
Messages
241
I think you should use multiboards. It`s easier to open multiboard then go through questlog.

Can you view quest descriptions in a multiboard? Actually Im unsure of what a multiboard is, is it like the small window in the upper right corner that keeps track of your kills in DotA?
 
Level 13
Joined
Feb 18, 2009
Messages
1,381
I-am-murloc, check my link. Maybe you get the help you need. But check only lowest on page 1, not the first 3 posts.
 
JASS:
function CreateQuestForPlayer takes player pl, string title, string descr, string iconp returns quest
    local quest q = CreateQuest()
    
    call QuestSetTitle      ( q, title )
    call QuestSetDescription( q, descr )
    call QuestSetIconPath   ( q, iconp )
    call QuestSetEnabled    ( q, false )

    if ( GetLocalPlayer() == pl ) then
        call QuestSetEnabled( q, true )
    endif
    
    return q
endfunction
 
Basically, this:
  • Actions
    • Quest - Disable (Last created quest)
    • Custom script: if GetLocalPlayer() == Player(0) then
    • Quest - Enable (Last created quest)
    • Custom script: endif
Where <Player(0)> is the player you want to show it to. Indexes go from 0-15 rather than from 1-16 (eg Player 1 (Red) == Player(0)). If you don't want to go through the mess of finding out which player though, just use this:
  • Actions
    • Set MyPlayer = (Owner of (Triggering unit))
    • Quest - Disable (Last created quest)
    • Custom script: if GetLocalPlayer() == udg_MyPlayer then
    • Quest - Enable (Last created quest)
    • Custom script: endif
Just replace <Last Created Quest> and the <Owner of trig...> with whatever you want.
 
Status
Not open for further replies.
Top