Boyss

มือใหม่หัดเล่นบอร์ดงับ

Boyss's Forum Info
Total Posts:
16 (0 posts per day | 0.06 percent of total posts)
Total Threads:
6 (0 threads per day | 0.2 percent of total threads)
Total Thanks Received: 10 (0 per day | 0.03 percent of total 38489)
(Find All Threads Thanked ForFind All Posts Thanked For) Total Thanks Given: 8 (0 per day | 0.02 percent of total 38489)
(Find All Thanked ThreadsFind All Thanked Posts)
Reputation:
0
Status:
Offline
Time Spent Online:
12 Hours, 42 Minutes, 24 Seconds
Additional Info About Boyss
Joined: 05-25-2015
Last Visit: 05-31-2016, 12:16 AM
Date of Birth: Not Specified
Local Time: 04-28-2024 at 07:05 PM
Boyss's Most Thanked Post
Post Subject Post Date/Time Numbers of Thanks
RE: ต้องการscriptหาค่าตัวแปรครับ 06-03-2015, 11:00 PM 3
Thread Subject Forum Name
 ต้องการscriptหาค่าตัวแปรครับ irpg Fabella RPG Maker Academia » RPG Maker Engine School
Scripting Academy
Post Message
splendith Wrote: (06-03-2015, 06:25 PM) -- ชื่อของเครื่องสวมใส่ใดๆ ที่ฮีโร่ใส่อยู่ปัจจุบัน [shcode=rails]$game_party.members[].equips[].name[/shcode] ไล่จาก คนแรก คือ 0 ไปยังคนสุดท้าย คือ 3 แบ่งเป็น 5 ช่อง ไล่จาก บนลงล่าง เริ่มจากช่องที่ 0 - 4 ช่องที่ 0: อาวุธหลัก ช่องที่ 1: โล่ หรืออาวุธรอง ช่องที่ 2: หมวก ช่องที่ 3: ชุด ช่องที่ 4: เครื่องประดับ การหาอาวุธหลัก, หมวก, ชุด, และเครื่องประดับมักไม่มีปัญหา เพราะเรียกช่องได้อย่างตรงไปตรงมา แต่จะมีปัญหาหากในเกมมีตัวละครที่มีอาวุธสองมือได้ เพราะเราไม่ สามารถรู้ได้เลยว่าในช่องที่ 1 นั้นเป็นอาวุธ หรือเป็นโล่ ซึ่งต้องตรวจสอบด้วยคำสั่ง [shcode=rails]$game_party.members[].index_to_etype_id(1)[/shcode] ถ้า คำสั่งนั้นคืนค่า 0 แปลว่าเป็นอาวุธ ถ้าได้ 1 แปลว่าเป็นโล่ครับ -- ขอบคุณมากครับ ได้แล้วครับ

Boyss's Received and Given Thanks
  Thanks Received Thanks Given
Last week 0 0
Last month 0 0
Last 3 months 0 0
Last 6 months 0 0
Last 12 months 0 0
All Time 10 8
 
Most thanked by
นิราจ 5 50%
splendith 2 20%
jojo741963 2 20%
dreamknight 1 10%
 
Most thanked
splendith 7 88%
dreamknight 1 13%

Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.