This is part 1 of 2 script that i upload. Part 2:
 
  MikuAuahDark: Custom Trigger If(part 2 of 2) (1)
 MikuAuahDark: Custom Trigger If(part 2 of 2) (1) Table of Contents
 Table of Contents 
1. Table of Contents
2. Description
3. Features
4. How to Install
5. Reserved Global Variables
6. Information
7. Macros
8. Functions
9. Example
10. Notes
11. Rules
12. Versions
13. Another MikuAuahDark scripts
 Description
 Description 
With this LUA, you can detect where the player move
 Features
 Features 
 basic detecting(left,right,up,down)
 basic detecting(left,right,up,down) diagonal detecting
 diagonal detecting How to Install
 How to Install 
Install it as usual(but with *.txt instead of *.lua)
 Reserved Global Variables
 Reserved Global Variables 
 SetPlayerPos*
 SetPlayerPos* GetPlayerDirection
 GetPlayerDirection ResetDirection
 ResetDirection MoveDirection
 MoveDirection(*) - If you have a script that uses
 setpos, it's more safe to use this function instead
 setpos, it's more safe to use this function instead Information
 Information 
Hooks: 2(
 spawn,
 spawn, always)
 always)Size: 1023 Bytes
Lines: 56
 Macros
 Macros 
Move_Up=1 Move_Down=2 Move_Left=4 Move_Right=8
 Functions
 Functions 
 SetPlayerPos(id{number},x{number},y{number})
 SetPlayerPos(id{number},x{number},y{number}) 
  Info: same as
 Info: same as  setpos
 setpos 
  Returns: none
 Returns: none 
  
  
 
 GetPlayerDirection(id{number})
 GetPlayerDirection(id{number}) 
  Info: get player current moving direction
 Info: get player current moving direction 
  Parameters:
 Parameters: 
  id - player id
 id - player id 
  Returns: unique number direction{number}
 Returns: unique number direction{number} Example
 Example 
1. Check if player going to left
if GetPlayerDirection(id)==Move_Left then
2. Check if player going to right down(diagonally)
if GetPlayerDirection(id)==Move_Right+Move_Down then
 Notes
 Notes 
1. It uses
 always (be careful if you use it on for a server)
 always (be careful if you use it on for a server)2. Suggestions? Bug reports? anything else? on comments
3. Well, pictures is useless
 Rules
 Rules 
 You can use it (for your server)
 You can use it (for your server) You can edit it (with your own risk)
 You can edit it (with your own risk) Say
 Say  MikuAuahDark made it and NOT made by you
 MikuAuahDark made it and NOT made by you Re-upload to another website. The file must not modified(original) and put me on credits
 Re-upload to another website. The file must not modified(original) and put me on credits Say this is yours a.k.a Steal
 Say this is yours a.k.a Steal Re-upload on unrealsoftware (even the edited version)
 Re-upload on unrealsoftware (even the edited version) Versions
 Versions 
 V1.0
 V1.0 
  
  
 Another MikuAuahDark Scripts
 Another MikuAuahDark Scripts 
 
  MikuAuahDark: Custom Trigger If(part 2 of 2) (1)(Part 2 upload)
 MikuAuahDark: Custom Trigger If(part 2 of 2) (1)(Part 2 upload) 
  Env_Laser v1.0 (7)
 Env_Laser v1.0 (7) 
  Animated Image v2.0 (5)
 Animated Image v2.0 (5) edited 1×, last 03.01.14 04:59:55 am
 Approved by Seekay 
 Download
 Download
		742 b, 577 Downloads
		 MikuAuahDark: Move Direction V1.0(part 1 of 2)
  MikuAuahDark: Move Direction V1.0(part 1 of 2)  Offline
 Offline 
  1
 1 
 
  