This is a more or less simple script that lets you create some basic objectives, like go to point A, wait till you are there and send an event.
!IMPORTANT! This is not a final version! It will remain in this state for some time since I will need time to get it to work perfectly. This is just an inside look of what it might look like in future with all the parts fully released. If you have any ideas as to what you want to see in something like that, be sure to dm me on FiveM Forum or Pull Request or create Issue!
Things that are +/- working:
notification - p1 - str
text - p1, p2 - str, int
marker - up to 23p, all from docs except for material and p19, additionally: onButton(bool), Button(int)
createnpc - p1, p2, p3, p4, p5, p6, p7 - str, int, int, int, int, bool, str
playanim - p1, p2, p3 - str, str, str
scenario - p1, p2, p3 - str, str, str
loadnpc - p1 - str
goto - p1, p2, p3 - int, int, int
ignore(await) - p0 - goto or marker
delay(wait) - p1 - int
event - p1 and from p2 to p14 - str, any(not counting nil and table or functions)
export - p1, p2 - str, str
!MANUAL!
/openoc - opens up the UI
after that you need to choose any option that is currently on side bar. Then just fill those spaces with types of arguments that it says, int, str, bool, any. According to FiveM docs and everything above. To add current native to project, click "FINISH" down the Panel. In console you will find any debug info script found.
||Clear Project|| Deletes any info you had currently in table
||Recover Last Session|| Restores back Project you previously deleted. Doesn't work after script restart
||Export Project|| Copies OC to you clipboard. Save it in any file after that. You can execute it using 'rc_co:startCO' event
||Execute Project|| Executes current project you are editing