Ivan_GilDong   05-09-2017, 03:13 PM
#2
อ้างอิงจากคุณ PK8 นะครับ
Quote:You won't be able to modify an event's move speed or move frequency property directly unless you do a bit of script editing (change attr_reader to attr_accessor for certain properties in Game_CharacterBase ) since they're only readable.


Move Speed:


$game_map.events[event_id].instance_eval("@move_speed = value")


Move Frequency:


$game_map.events[event_id].instance_eval("@move_frequency = value")


Edit: Ninja'd.
เหมือนเค้าจะบอกว่า ให้เราไปปรับความเร็วและความถี่การเคลื่อนที่ของอีเวนต์ได้ที่สคริปต์ Game_CharacterBase ครับ
เปลี่ยนความเร็ว
$game_map.events[id ของอีเวนต์].instance_eval("@move_speed = ค่าที่เป็นตัวเลข")
เปลี่ยนความถี่
$game_map.events[id ของอีเวนต์].instance_eval("@move_frequency = ค่าที่เป็นตัวเลข")

[Image: NvcQbcH.jpg]
  
Users browsing this thread: 1 Guest(s)
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.