RPG Maker Forums

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!

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,048
Messages
1,018,545
Members
137,834
Latest member
EverNoir
Top