Hi all. So I'm currently working on a script which involves interacting with events on the map, which call to my script, passing the event number(event_id). I have found a rather annoying limitation in the event script box - there is a very short line limit. Anything over that limit gets placed in a second line which breaks up the script and renders it useless. So, my plan was to put this in the script box of each event that's necessary:
$arcane_circle.run($game_map.events[@event_id].id)
However when you type it in it breaks it between "events" and "[@events_id]", which gives the error "unexpected tLBRACK, expecting ')'".
After some experimentation I was able to get it to work by instead calling to a common event which goes:
event = $game_map.events[@event_id].id
$arcane_circle.run(event)
Which works fine, and is actually a bit neater so I'm happy. But I was just wondering if there's any way round this as it seems quite limiting and is possibly an issue I'll encounter in the future. Is this a common problem people have encountered? Is there a scripter's tool which works round this? (I did look!)
Many thanks!