[Script] [ACE] Restricted Move Inputs

dsiver144dsiver144 Posts: 1,064Registered
[size=large][align=center]Restricted Move Inputs[/align][/size][align=center]Khóa phím di chuyển
Author : Tsukihime
[/align]

[chapter]Giới thiệu[/chapter]
Script này cho phép bạn mở khóa hay khóa một phím di chuyển nào đó bằng Script Call. Khi đã bị khóa phím đó nhân vật không thể di chuyển theo hướng đã khóa trên bản đồ bằng phím di chuyển
[chapter]Screenshot[/chapter]
restrictedmoveinputs1.jpg?w=640
[chapter]Script[/chapter]
Restricted Move Input
[chapter]Hướng dẫn[/chapter]
+ Đặt script này trên Main
+ Để khóa phím di chuyển thì dùng dòng lệnh sau đặt vào Script Call
disable_move_direction(dir_symbol)
+ Để mở khóa thì dùng dòng lệnh này
enable_move_direction(dir_symbol)
*dir_symbol*
:UP
:LEFT
:RIGHT
:DOWN
Ví dụ: Để khóa và mở phím trái thì ta sử dụng lệnh này
Khóa : disable_move_direction(:LEFT)
Mở : enable_move_direction(:LEFT)

[chapter]Điều khoản sử dụng[/chapter]
Có thể sử dụng cho tất cả dự án thương mại lẫn không thương mại
Sign In or Register to comment.