HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need help: Selection only able to see for one Player!

08-29-2003, 04:39 PM#1
Pen²
For my new version of the ATB-battle-system I need to let an arrow appear overhead of the unit being choosed as the target. (You know that arrow: The one that appears above the hero if you approach a shop)

Now to my question: I want to let that arrow appear above a selected unit so that the arrow ONLY can be seen from player1! Is there a way to do this?
08-29-2003, 05:11 PM#2
Panto
If there is, I'm afraid I don't know of a way. Adding Special Effects adds them for all players that can see the unit, so I don't think there's a good way to do what you want.

You could, perhaps, have different-coloured arrows, so that each player wouldn't be confused about which one is his.
08-29-2003, 10:17 PM#3
Pen²
Is there really nothing I can do? No JASS-backdoor to do it? Maybe I could change the model of an invisible unit to the arrow, but that doesn't work because players have shared vision ...
08-29-2003, 10:27 PM#4
CyborgDragon
Do what you just said but make it not owned by red.
08-30-2003, 08:01 AM#5
Pen²
Would that work?
I create a unit with the 'choose unit' ability and let it select the unit I want. Can these arrows created by that ability only be seen by one player?!
08-30-2003, 03:21 PM#6
Newhydra
Special effects can only be seen by people who can see the unit they're attached to. So on player 1's turn what you'd do is create an invisible unit for, say, player12, then have player 12 share vision with player 1. Once player one moves you'd create the unit for player 2 and have player 12 unshare vision with p1 and share with p2, and so on. If you need it to happen all at the same time you'd need enough computers so each player "owns" one. Aside from this, no, there is not a way to make a SE visible to only one player.
08-30-2003, 03:24 PM#7
Magias
Quote:
Originally posted by Newhydra
Special effects can only be seen by people who can see the unit they're attached to. So on player 1's turn what you'd do is create an invisible unit for, say, player12, then have player 12 share vision with player 1. Once player one moves you'd create the unit for player 2 and have player 12 unshare vision with p1 and share with p2, and so on. If you need it to happen all at the same time you'd need enough computers so each player "owns" one. Aside from this, no, there is not a way to make a SE visible to only one player.


Do what he says. Thats the most logical way...
08-30-2003, 03:57 PM#8
CyborgDragon
That's what i meant