• 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 for one player

Status
Not open for further replies.
Level 5
Joined
Jul 31, 2004
Messages
108
Use a player condition like

Example
Events
Unit - A unit enters Cirlce of Power <gen>
Conditions
(Owner of (Triggering unit)) == FunkyMonkey
Actions
Quest - Display to (All players) the Quest Update message: You finished the funkymonkeyquest...
 
Level 10
Joined
Jul 2, 2004
Messages
690
uh.. just do like a normal quest except you just trigger it on a player? i mean, like how you would make a quest for everyone, but this time, make it only trigger for one.
 
Level 8
Joined
Jul 28, 2004
Messages
258
you guys dont get it, he wants to have a quest show up for one player:
Code:
Quest Test
    Events
        Map initialization
    Conditions
    Actions
        Quest - Create a Required quest titled Quest for Player Red with the description Only Player 1 [Red] can see me!, using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
        Quest - Disable (Last created quest)
        Custom script:   if GetLocalPlayer() == Player(0) then
        Quest - Enable (Last created quest)
        Custom script:   endif
 
Level 2
Joined
Nov 24, 2004
Messages
14
I don't under stand why on a map iniz?

And tell me more aboute thos custon script!
 
Level 8
Joined
Jul 28, 2004
Messages
258
u dont have to do it at map init, when ur player shud get the quest like when he talks to NPC.
the custom script uses the getlocalplayer function to hide the quest then show it for a specific player.
in ur map u prolly wanna replace Player(0) with GetTriggerPlayer(), or w/e player that shud get the quest.
 
Status
Not open for further replies.
Top