nwnxee / unified

Binaries available under the Releases tab on Github
https://nwnxee.github.io/unified
GNU General Public License v3.0
130 stars 92 forks source link

[Feature Request] Trap Events: Location and Object Retrieval #1601

Closed vickydotbat closed 1 year ago

vickydotbat commented 1 year ago

Discord message link: https://discord.com/channels/382306806866771978/387223972808359936/1085873444018737243

From nwnx_events: image

There is currently no retrieval for Location floats or Object variables. This would be highly sought-after for people who are trying to reference the object that the trap is being placed on, or the location, correspondingly.

Per Daz, there's already parameters in the system that merely need to be exposed:

the target object would be pNode->m_pParameter[1] and the location floats are 2-4

Would greatly appreciate if anyone felt like taking this on.

Cjreek commented 1 year ago

Working on it