Problems with 'sighted' events
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Problems with 'sighted' events
I can't seem to get any of my 'sighted' events working properly. I recall that a year ago, the [filter] and [filter_second] tags were reversed from what the Wiki said about them. So as it happened, they would trigger when primary_unit is sighted by secondary_unit, and not vice versa.
Now, it doesn't seem to work either way. I use code like this:
...and it does nothing when Neliflua moves within sight range of Haji-Renga. Switching the two filters doesn't help. The only times I've gotten 'sighted' events to work are when I only include one filter, and not always even then. Help?
Now, it doesn't seem to work either way. I use code like this:
Code: Select all
[event]
name=sighted
[filter]
description=Neliflua
[/filter]
[filter_second]
description=Haji-Renga
[/filter_second]
[message]
speaker=Haji-Renga
message="There you are! About time. Everything is ready for you, captain."
[/message]
[/event]
I'm pretty sure the sighted events are still broken. They should work with fog, but probably won't with just shroud (but even then, the filters might indeed be reversed or something like that).
These have been broken for a really long time now, which is a pity. I hope we can attract some coder into finally fixing this though.
These have been broken for a really long time now, which is a pity. I hope we can attract some coder into finally fixing this though.