Jump to content

Grade Exporting


grant977

Recommended Posts

I'm working on it for slmod. However it requires a lot of guesswork due to the formatting of the event. Basically most events contain information like the following:

 

{

id = x -- The event type

initiator = object -- WHO caused the event

place, weapon, target, etc = object -- Generally useful data for a given event

}

 

The problem is the LSO score is a "comment" event that lacks the initiator, so all you get is get the LSO grade string in event.place and the id saying it is a comment. You have to look for landing events to occur on a ship and then check for an LSO grade and assume it corresponds with the recent landing event. Wave-offs will make the comment appear before a player lands, if they ever do, so you'd have to try and figure out which player it should be associated with. Point is guesswork is required until the event gets updated with more useful data.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...