by Nash » Thu Jan 14, 2016 12:07 pm
FDARI wrote:
For those who want to filter one actor so that only master sees it, and one so that only master does not see it, who also happen already to have this particular actor as an activator at some point in an acs script:
Code: Select all
SetActorProperty(0, APROP_VisibleFilter, AAPTR_MASTER);
Code: Select all
SetActorProperty(0, APROP_VisibleFilter, AAPTR_MASTER);
SetActorProperty(0, APROP_FilterHides, true);
The FilterHides stuff doesn't work. Using FDARI's own example quoted above, the first code snippet works, but the second one does not (it just acts the same as if the first code, not in reverse, as one would expect). Does not work both when done using ACS as demonstrated in his post, or when using +FILTERHIDES on the actor.
Example files:
Filter Test A: medikit will ONLY be visible to ME but not other players (works)
https://www.dropbox.com/s/ls6xh6kc4rtqa ... A.pk3?dl=0
Filter Test B: medikit is supposed to be visible to everyone EXCEPT me (does not work)
https://www.dropbox.com/s/mrxycnt590xez ... B.pk3?dl=0
[quote="FDARI"]
For those who want to filter one actor so that only master sees it, and one so that only master does not see it, who also happen already to have this particular actor as an activator at some point in an acs script:[code]SetActorProperty(0, APROP_VisibleFilter, AAPTR_MASTER);[/code][code]SetActorProperty(0, APROP_VisibleFilter, AAPTR_MASTER);
SetActorProperty(0, APROP_FilterHides, true);[/code]
[/quote]
The FilterHides stuff doesn't work. Using FDARI's own example quoted above, the first code snippet works, but the second one does not (it just acts the same as if the first code, not in reverse, as one would expect). Does not work both when done using ACS as demonstrated in his post, or when using +FILTERHIDES on the actor.
Example files:
Filter Test A: medikit will ONLY be visible to ME but not other players (works)
https://www.dropbox.com/s/ls6xh6kc4rtqasp/filter%20test%20A.pk3?dl=0
Filter Test B: medikit is supposed to be visible to everyone EXCEPT me (does not work)
https://www.dropbox.com/s/mrxycnt590xez1g/filter%20test%20B.pk3?dl=0