Eventer's Toolbox for Ace?

I checked the WIKI under Creator's Tools looking for an Ace version of the old Eventer's Toolbox script, which returned x and y coordinates for players and events, as well as some true false values, I thought, for simple questions like if you gave mapp coordinate x,y and an event number, it would tell you true or false if the event was on that location.

Is this a script anywhere?

I also looked for a scriptlet, but google search done me wrong.

Please and thanks.

My fifteen event location event page is so cumbersome and I crave some elegance.
Looks easy, but I'm not really sure what you really want. Is it something like script call
Code:
check_event_pos(x,y,event_id)
Then it would check if the event_id is in certain location?
Yes, something to replace doing this fifteen times:

It would just make four lines into one line, and change two conditional branches into one =]

I'm assuming it would set a switch? or return a value? (I can program but I have never used scripts in rpgmaker much)

Capture.JPG
oh, so you want something that can be used in-game, rather than a developer tool?

For your purposes, you could put this into the Script box of the Conditional Branch:
Code:
e=$game_map.events[15]; e.x == 3 && e.y == 3
where 15 is the event id. This will return true if event 15's x position is 3 and its y position is 3.

However, for puzzles where each item has to go in a certain place, as in your example, I would use regions in Ace and MV rather than coordinates. Paint with a region tile onto each destination position - if you have 15 barrels and they all have to go up against a 15-tile-wide wall, and it doesn't matter which barrel goes in each position, use the same region id for all of them. But if you've got a gryphon statue that has to go on the tile to the left of the door and a wyvern statue that has to go on the right side of the door, use different region ids. Then do this in the Script box of the Conditional Branch:
Code:
$game_map.events[15].region_id == 10
where 15 is the event you're checking and you've painted its destination tile with the region 10 colour.
Oh man that looks like a drag. And actually there is build in function on default script, so I guess no need a new script
And no, you don't need switch. Just use conditional branch : script
Something like
Code:
$game_map.events[id].pos?(x, y)

Shaz's solution could work too. But I prefer use default ".pos?(x, y)" function 😛
I would have suggested that, if I'd remembered it existed 😛
Sixty years old looms much too close....

thank, guys.

/me knocks off large hunks of rust from her RPGMaker joints.

Re-eventing now. Much more elegant now. =]

close/solved. =]

Original thread: https://forums.rpgmakerweb.com/threads/eventers-toolbox-for-ace.89501/