• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Hypothetical: play sounds, set quests for different players

Status
Not open for further replies.
Level 14
Joined
Aug 30, 2004
Messages
909
I'm brainstorming for a new map and had a few hypothetical questions. You don't need to post triggers or anything (if I need them I can always come back).

The map would be a multiplayer Battle.Net map.

1. Would it be possible to play a custom sound files for 1 player but not others?

2. Is it possible to set up quests, so some players will see some quests, and other players will see other quests?
 

Rui

Rui

Level 41
Joined
Jan 7, 2005
Messages
7,551
1. Yes. There is a function called StartSoundForPlayerBJ() which you can use to play sound for a specific player. Are you using triggers? You can use a custom script: StartSoundForPlayerBJ( Player(0) , "MySound.mp3" ) to play for Red player.

2. Quests are a bit more tricky. You can use GetLocalPlayer() to make things differ between the various players and apparently it works with strings, so theoretically, you'd need to create a set of Quest and Quest Requirement type objects and then use GetLocalPlayer() to set quest titles and descriptions.
 
Status
Not open for further replies.
Top