eventObjectSeen() - not reporting features?
eventObjectSeen() - not reporting features?
Is eventObjectSeen() supposed to report features that are detected by my sensors? I would expect it to do so but it doesn't seem to - is this intended behaviour?
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
Re: eventObjectSeen() - not reporting features?
Well, no. The problem is that the strange cluster system is used to throttle the frequency of seen events, and the cluster system does not support features. I could easily fix this by not throttling seen events, though. Not sure how many events that will fire off.
Re: eventObjectSeen() - not reporting features?
Even if the map is filled with features, they are finite and will be discovered gradually as droids move about at the start of the game so unthrottled passing of seen features to eventObjectSeen() should not cause any problems.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
Re: eventObjectSeen() - not reporting features?
Seen is not just called the first time something is seen, but every time something comes into view that was not seen the previous frame. So eg a line of VTOLs flying back and forth can trigger a lot of seen events. Not sure if that is a problem, though.
Re: eventObjectSeen() - not reporting features?
Shouldn't be a problem for features, especially as features will naturally get destroyed as game goes on, plus they are finite in number as defined on the map. IMHO it should be ok for unthrottled feature detection triggering eventObjectSeen() -- I imagine most scripts will ignore feature objects passed in to eventObjectSeen() anyway, however for scripts that do need to know when features are seen it will be highly beneficial to have them unthrottled.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO