public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Event activation upon enering certain distance

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Event activation upon enering certain distance
  • Original author: Unizaga
  • Original date: April 18, 2016
  • Source thread: https://forums.rpgmakerweb.com/threads/event-activation-upon-enering-certain-distance.60600/
  • Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker VXAce Support

Summary

Hi! I am trying to activate this event, when my player goes near it. I have set up variables: variable1 = player x (on map)

Archived First Post

Hi!


I am trying to activate this event, when my player goes near it.


I have set up variables:


variable1 = player x (on map)


variable2 = player y (on map)


variable3 = event x (on map)


variable4 = event y (on map)


I want to make a script for conditional branch which would subtract one variable from another and gives absolute number(if answer is ,,-'' it makes it positive)


I tried doing it this way. $game_variables[1] - $game_variables[3] = 3.abs


but it activates even when this isn't true. Same method would go for y coordinates.


I tried using a proximity detection script, but that caused me errors, maybe because I have other scripts in my game as well, that might be interrupting each other.


Protected download

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

Referenced Images / Attachments

Event.png
Event.png
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#rpg-maker-archive#vxace-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar