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 havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The poll for Hive's 12th Concept Art Contest is up! Go cast your vote for your favourite genie!
    Dismiss Notice
  4. Travel to distant realms and encounter scenes unknown to the common folk. The Greatest of Adventures is upon us with the 8th Cinematic Contest. Join in on a fun ride.
    Dismiss Notice
  5. The 18th Icon Contest is ON! Choose any ingame unit and give him/her Hero abilities. Good luck to all.
    Dismiss Notice
  6. Contestants are to create a scene set in the Stone Age. Come and see what you can come up with. We wish you the best of luck!
    Dismiss Notice
  7. Colour outside the lines! Techtree Contest #13 is a go. The contest is optionally paired.
    Dismiss Notice
  8. Greetings cerebrates, our Swarm needs new spawners that will have numerous children. Join the HIVE's 31st Modeling Contest - Spawners and Spawned! The contest is optionally paired.
    Dismiss Notice
  9. 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:
    669
    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:
    669
    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:
    669
    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. =[