Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: Memor-X on May 08, 2012, 09:31:50 pm

Title: XP - Change Event Facing Via Script
Post by: Memor-X on May 08, 2012, 09:31:50 pm
is there a way to change the facing of a event via a script, i want to use it in a couple of the systems in Nexis Core: Chain of Shadows where i have a loop, the loop's iterator is the event ID but the problem is that with the event commands you can't select and event in Set Move Route using a variable, i only want to change an events facing and not move them with the script

i think i suggested this for ARC but i want to get these systems working on RMXP before ARCed comes out so that way i can go strait into making the maps and cutscenes

i have made an attempt by copying the interpreter function and trying to add arguments to the function to be used as a script call but i found out @parameter[1] seems to be set up as a class or as an array and i have no idea how the hell i ma supposed to make that into an argument of a function, i know @parameter[0] is either the event ID or -1 if your moving the player (it would probably be 0 if your moving "This Event")
Title: Re: XP - Change Event Facing Via Script
Post by: LiTTleDRAgo on May 08, 2012, 10:48:12 pm
$game_map.events[1].turn_up
$game_map.events[1].turn_down
$game_map.events[1].turn_left
$game_map.events[1].turn_right

$game_player.turn_up
$game_player.turn_down
$game_player.turn_left
$game_player.turn_right

etc