Forums » Suggestions
Mission event consistency in the Lua API.
The plod plugin will take user input to automatically route the nav computer between two sectors and optionally purchase and unload cargo at alternating stations. (It does everything except the flying.)
Currently it's executed like: /plod . 'bractus c9' 'Ishik Ore'
. is the current sector and the cargo is case sensitive. I'd like to update it to listen to the mission log and automatically determine the two sectors and the trade item. However, the CHAT_MSG_MISSION isn't triggered consistently -- not at all for trade missions. The MissionLogPanel.log is also not updated.
My suggestion is just that I hope that it's possible to make them consistent.
Currently it's executed like: /plod . 'bractus c9' 'Ishik Ore'
. is the current sector and the cargo is case sensitive. I'd like to update it to listen to the mission log and automatically determine the two sectors and the trade item. However, the CHAT_MSG_MISSION isn't triggered consistently -- not at all for trade missions. The MissionLogPanel.log is also not updated.
My suggestion is just that I hope that it's possible to make them consistent.
I take it back. The CHAT_MSG_SECTORD_MISSION is the event I wanted.