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

Is this working for all players?

Status
Not open for further replies.
Level 14
Joined
Aug 8, 2010
Messages
1,022
Hello. I have a script and i want to ask you if it works properly because i don't have anyone to test with. So this is the script :
  • asd2
    • Events
      • Time - Every 0.30 seconds of game time
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Set CameraLoopNumber = (Player number of (Picked player))
          • Custom script: set udg_CameraLocation[udg_CameraLoopNumber] = GetCameraTargetPositionLoc()
      • For each (Integer IntegerLoop) from 1 to 10, do (Actions)
        • Loop - Actions
          • Cinematic - Ping minimap for (All players) at CameraLocation[IntegerLoop] for 1.00 seconds
I basically want to store the location of all players' cameras. I am pinging the map to see if it works. It pings right for me but the other 9 pings are on the center of the map (because there are no other players except me).
Is it right?

P.S. I know that i am leaking 10 locations.
 
Status
Not open for further replies.
Top