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

Only creating for player 1?

Status
Not open for further replies.
Level 11
Joined
Jun 30, 2008
Messages
580
What is wrong with this?
It only works for player 1 for some reason and not player 2??? Why?

  • Untitled Trigger 001
    • Events
      • Unit - A unit Sells a unit
    • Conditions
    • Actions
      • Custom script: if GetLocalPlayer() == GetOwningPlayer(GetBuyingUnit()) then
      • Quest - Enable Quest[A_QuestOther_ARRAY]
      • Custom script: endif
  • Untitled Trigger 001
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Quest_Integer = (Quest_Integer + 1)
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Set A_ARRAY = ((Player number of (Picked player)) + (10 x Quest_Integer))
          • Quest - Create a Required quest titled Message with the description Bring it to the Bla..., using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
          • Quest - Disable (Last created quest)
          • Set Quest[A_ARRAY] = (Last created quest)
Idk what is the problem?
 
Status
Not open for further replies.
Top