Save-Point
Event dependent Movement - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Archives (https://www.save-point.org/forum-105.html)
+--- Forum: Creation Asylum Archives (https://www.save-point.org/forum-90.html)
+---- Forum: Scripts & Code Snippets (https://www.save-point.org/forum-92.html)
+----- Forum: RPG Maker XP Code (https://www.save-point.org/forum-93.html)
+----- Thread: Event dependent Movement (/thread-6928.html)



Event dependent Movement - Caldaron - 10-09-2006

Event dependent Movement
Caldaron
Version: 1.03
Oct 9 2006

This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


Introduction

With this Script, u can simple make events follow events like move_toward_player

Features
  • move_toward_event
  • move_away_from_event
  • turn_toward_event
  • turn_away_from_event
  • 8-way movement included
Script


Event dependent Movement


Instructions

Place this above main.
to let events follow events, choose script in the move route editor and put in:
Code:
move_toward_event(event_id)
move_away_from_event(event_id)
turn_toward_event(event_id)
turn_away_from_event(event_id)
(event_id is the destination event)

For non-SDK-users:
delete line 5, 7 and the last "end"

Incompatibility

Not known...

Credits and Thanks

Credits to me

Author's Notes
i uploaded a less buggy one...