1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. Fill your cup and take your pick among the maps best suited for this year's Hive Cup. The 6th Melee Mapping Contest Poll is up!
    Dismiss Notice
  4. Shoot to thrill, play to kill. Sate your hunger with the 33rd Modeling Contest!
    Dismiss Notice
  5. Do you hear boss music? It's the 17th Mini Mapping Contest!
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[General] Retrieve the player who orders shared unit

Discussion in 'World Editor Help Zone' started by Jaccouille, Sep 16, 2020 at 12:48 PM.

  1. Jaccouille

    Jaccouille

    Joined:
    Feb 1, 2019
    Messages:
    136
    Resources:
    8
    Models:
    5
    Icons:
    2
    Maps:
    1
    Resources:
    8
    Hello there,

    Here's my context, I got a shared building with spells, I would like to know if it's possible to retrieve the player that cast said spell through the shared building, that's all, thanks a lot for answering.
     
  2. ThompZon

    ThompZon

    Joined:
    Jan 30, 2020
    Messages:
    96
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Does "Triggering Player" work? Or does that return the owner of the unit?
     
  3. Jaccouille

    Jaccouille

    Joined:
    Feb 1, 2019
    Messages:
    136
    Resources:
    8
    Models:
    5
    Icons:
    2
    Maps:
    1
    Resources:
    8
    Returns the owner of the unit :(
     
  4. HerlySQR

    HerlySQR

    Joined:
    Jun 26, 2020
    Messages:
    354
    Resources:
    0
    Resources:
    0
    My suggestion is change the abilty for buy a unit, because always the unit is from the player who bought it.
     
  5. Uncle

    Uncle

    Joined:
    Aug 10, 2018
    Messages:
    2,066
    Resources:
    0
    Resources:
    0
    May be possible with the new Events we got related to pressing Buttons. I forget what it's called but if you look under Events you should see some Button events that ask for Ability/Order Id.