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,312
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
Redd
post Nov 1 2012, 08:20 PM
Post #2


:<
Group Icon

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




The guard looks in different directions and some of them move though, so that would be quite cumbersome.
I could do variables, but I would have to have a different variable for each guard and that would not end up a happy time.


__________________________
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: 21st May 2013 - 08:28 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker