1. 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
  2. Shoot to thrill, play to kill. Sate your hunger with the 33rd Modeling Contest!
    Dismiss Notice
  3. Do you hear boss music? It's the 17th Mini Mapping Contest!
    Dismiss Notice
  4. 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.

  1. Jaccouille

    Jaccouille

    Joined:
    Feb 1, 2019
    Messages:
    148
    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:
    100
    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:
    148
    Resources:
    8
    Models:
    5
    Icons:
    2
    Maps:
    1
    Resources:
    8
    Returns the owner of the unit :(
     
  4. HerlySQR

    HerlySQR

    Joined:
    Jun 26, 2020
    Messages:
    393
    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,154
    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.