oooh kitties!
im abit rusty but do something like this on each frame. im not sure if im converting things to strings correctly and ive probibly misspelled things.
#Conditional Hooks
$Application: FS2_Open
$State: GS_STATE_GAME_PLAY
$On Frame: [
--tweakables!
printSexpVars = true
posX,posY = 10,50
--print stuffs
if printSexpVars then
gr.drawString("Sexp Var Name: Value, Type, Persistence", posX, posY )
for i=1, #mn.SEXPVariablesdo
local var = mn.SEXPVariables[i]
if var:isValid() then
gr.drawString( tostring(var)..": "..tostring(var.Value)..", "..tostring(var.Type)..", "..tostring(var.Persistence) )
end
end
end
]
#end