Hey fellow modders.
I had some fun modding recently and came to the point where I wanted to react on calls with a custom script. What I basically want to do is some support call like "Where is the McGuffin? (100RP)" - "The McGuffin is at [location]".
This seems to be possible with an event handler, but a comment somehow mysteriously states that it does not work with all calls, but only those that are marked somehow (naive testing supports that hypothesis
)
Code:
// call events, happens for calls that have marked themselves for notification
protected void handleCallRequestEvent(const XmlElement@ event) {}
But I did not find
how to mark the call. I suppose there is some XML-Attribute or -Tag, but I could not find its name. Can anybody help?