Turn Towards This Event

Unmercyful

Veteran
Veteran
Joined
Oct 25, 2015
Messages
123
Reaction score
30
First Language
English
Is there a command or script call that makes the player turn towards "this" event? Closest thing I could find is in Galv's Move Route Extras:


this.turn_toward(i);


But this needs an Id number. I am looking alternative but for the currently running event. If anyone knows a solution I be much appreciated :)  
 

thehackeryacker

Veteran
Veteran
Joined
Jan 12, 2016
Messages
44
Reaction score
9
First Language
English
Primarily Uses
Maybe a little more explanation, I don't know the jscrip, but you should be able to do this with events.


Edit::


Make an event in paralell mode to constantly check then > you can set a variable to players direction by  Variable:xxxx:player Direction (pick a variable , name it ) set it to set> game data> click the box and chose, character>player>direction. Then his direction will always be stored if you need a control loop.


??If he simply steps on a certain spot, that could be triggered to face the event by "move route> player> face (right, left, up, down)" relative to the event.


Are you trying to make the player constantly face the event while on the map, like lock on:?
 
Last edited by a moderator:

Unmercyful

Veteran
Veteran
Joined
Oct 25, 2015
Messages
123
Reaction score
30
First Language
English
Thanks for the reply. I'm making a lot events to where if you a push a button the player will automatically turn to that event. It is not a lock on (that would be sweet to know though). It is for ABS turn to target mob kinda thing I am looking for. Just trying to simplify what i have so don't have make so many changes to each event.


There is no option that I can see in move routes to toward "this event". It could be hidden though, lol .


Edit:


I tried what you said. This doesn't make the player turn to the event that is running. If you or anyone else knows of another solution I'd be happy to hear from you. :)
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

So ms store had an idea to nuke the the entire app when the file integrity is slightly broken.
Im on another months long scripting high. I wonder if I can go SSJS3?

Version Fille in english is now complete!
Download the game on itch.io:
Talk about it here: https://forums.rpgmakerweb.com/index.php?threads/120802/

Enjoy and share!
3am me was like.... Hey buddy, what if I told you, where we're going we don't need events? :LZSwink:
5pm me is like.... Was 3am me onto something? No! Must work on actual gameplay! Rabbit hole bad! :kaoback:
I'm thinking of having a scavenger-based way to learn advanced skills in my first game, and use the work I did for figuring out a skill grid/maze instead for an optional dungeon in the game.

Forum statistics

Threads
98,037
Messages
948,723
Members
129,292
Latest member
zenmai
Top