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. Let your favorite entries duke it out in the 15th Techtree Contest Poll.
    Dismiss Notice
  4. Weave light to take you to your highest hopes - the 6th Special Effect Contest is here!
    Dismiss Notice
  5. 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.

Ally's vision not shared

Discussion in 'Triggers & Scripts' started by Krogoth, Oct 14, 2012.

  1. Krogoth

    Krogoth

    Joined:
    Apr 5, 2011
    Messages:
    247
    Resources:
    0
    Resources:
    0
    Is there a way to make ally's vision not shared with me, not changing (in result) his owner?
     
  2. Lender

    Lender

    Joined:
    Oct 16, 2010
    Messages:
    667
    Resources:
    6
    Models:
    4
    Spells:
    2
    Resources:
    6
    at the Force editor you can set the share of victory,vision and control for players in the same Force if I remember correctly
     
  3. Krogoth

    Krogoth

    Joined:
    Apr 5, 2011
    Messages:
    247
    Resources:
    0
    Resources:
    0
    Oh, sorry, I forgot to specify that ally player's vision should be shared, but some of units of this player don't.
     
  4. Lender

    Lender

    Joined:
    Oct 16, 2010
    Messages:
    667
    Resources:
    6
    Models:
    4
    Spells:
    2
    Resources:
    6
    i think you can set players vision specially on units/locations with a function , can't remember the name of it
     
  5. Krogoth

    Krogoth

    Joined:
    Apr 5, 2011
    Messages:
    247
    Resources:
    0
    Resources:
    0
    UnitShareVision(unit, player, boolean) - does it work? (Just have no PC now, answer if you know it please)
     
  6. Lender

    Lender

    Joined:
    Oct 16, 2010
    Messages:
    667
    Resources:
    6
    Models:
    4
    Spells:
    2
    Resources:
    6
    yes i think it can solve the problem, test it when you can cus I neither have WE atm..
     
  7. Krogoth

    Krogoth

    Joined:
    Apr 5, 2011
    Messages:
    247
    Resources:
    0
    Resources:
    0
    Still have no PC but all this seems to be right. Thanks for advice!
    I will post here if there is something wrong with.
     
  8. Krogoth

    Krogoth

    Joined:
    Apr 5, 2011
    Messages:
    247
    Resources:
    0
    Resources:
    0
    Seems like I deny vision does not work, but grant works. I have to grant it manually. =[