Original Source
- Original title: Autonomous Movement doesn't run/update outside the player's camera
- Original author: Marsigne
- Original date: September 18, 2016
- Source thread: https://forums.rpgmakerweb.com/threads/autonomous-movement-doesnt-run-update-outside-the-players-camera.68498/
- Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSS3 Scripts (RMVX Ace) > RGSS3 Script Requests
Summary
Hey, I was making some mechanics involving the use of Autonomous Movement, but I have been stumbled. The Autonomous Movement doesn't run/update outside the player's camera (not even with Parallel Process). I have tried a snippet but it doesn't work (I get an error) even on a new project, which I assume is because of Ace's updates. Anti-Lag scripts has been suggested but it still doesn't run/update the Autonomous Movement when outside the player's camera. Snippet error: Spoiler Snippet:
Archived First Post
Snippet error:
Snippet:
#
# ~Kread
class Game_Event < Game_Character
#————————————————————————–
# * Determine if Near Visible Area of Screen
#————————————————————————–
alias_methodkrx_alfix_ge_nts?, :near_the_screen?)
def near_the_screen?(dx = 12, dy = 8)
# YEA compatibility
if $imported && $imported[“YEA-CoreEngine”]
dx = dy = nil
end # YEA compatibility
return true if @event.name.include?(‘[update]’)
return krx_alfix_ge_nts?(dx, dy)
end
end
Demo (the guard should come from the right. interact with the event above the player to walk through water):
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator 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.
Replies (0)
No replies yet.
Topic Summary
Loading summary...