Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> 


———
Before you ask! Read! ;)

You must have 30+ Posts to create a topic here!

Thanks for reading!
———

> [RGSS]Event is facing?
Redd
post Nov 1 2012, 05:38 PM
Post #1


:<
Group Icon

Group: Revolutionary
Posts: 2,310
Type: Developer
RM Skill: Advanced




Is there a little scriplet someone could make that checks which direction the current event is facing? So that I can use it in a Conditional Branch?
I'm trying to make a "stealth kill" system (along with the Stealth/Detection Script) that makes it so that if you sneak up from behind someone you can use your equipped weapon to kill them sneakily. Problem is, there's only a "Player is facing" condition in Conditional Branch.
So what I'm asking for is, a script call that would determine which way the current event is facing (up, down, left, or right) so that you could assassinate them.

Credits will be given smile.gif Thanks!


__________________________
Go to the top of the page
 
+Quote Post
   
 
Start new topic
Replies
X-M-O
post Nov 1 2012, 06:40 PM
Post #2


Level 82
Group Icon

Group: Director
Posts: 6,347
Type: None
RM Skill: Undisclosed




What if you set the "character being assassinated" event to have a switch that if the player is within a certain area on the map that the event will detect the player?
If the event/character being assassinated is always in the same spot or always looking the same way, then you only need to detect if the player is in any location that would be a place where the event could detect the player.

If that makes sense.


__________________________
Go to the top of the page
 
+Quote Post
   

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 18th May 2013 - 06:53 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker