Advertisement
dwIndex

Documentación Lua #3

Nov 29th, 2021 (edited)
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.35 KB | None | 0 0
  1. [#Árbol de lua]
  2. [p=center][img]https://imgur.com/pTzqHEV.png[/img]
  3. [/p]
  4.  
  5. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-_G]_G[/url]
  6. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-assert]assert[/url]
  7. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-bit32]bit32[/url]
  8. [list][url=http://www.lua.org/manual/5.1/es/manual.html#pdf-bit32.arshift]arshift[/url]
  9. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-bit32.band]band[/url]
  10. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-bit32.bnot]bnot[/url]
  11. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-bit32.bor]bor[/url]
  12. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-bit32.btest]btest[/url]
  13. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-bit32.bxor]bxor[/url]
  14. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-bit32.extract]extract[/url]
  15. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-bit32.lrotate]lrotate[/url]
  16. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-bit32.lshift]lshift[/url]
  17. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-bit32.replace]replace[/url]
  18. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-bit32.rrotate]rrotate[/url]
  19. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-bit32.rshift]rshift[/url]
  20. [/list][url=http://www.lua.org/manual/5.1/es/manual.html#pdf-coroutine]coroutine[/url]
  21. [list][url=http://www.lua.org/manual/5.1/es/manual.html#pdf-coroutine.create]create[/url]
  22. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-coroutine.resume]resume[/url]
  23. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-coroutine.running]running[/url]
  24. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-coroutine.status]status[/url]
  25. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-coroutine.wrap]wrap[/url]
  26. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-coroutine.yield]yield[/url]
  27. [/list][url=http://www.lua.org/manual/5.1/es/manual.html#pdf-debug]debug[/url]
  28. [list]disableEventLog
  29. disableTimerLog
  30. getCurrentLuaThreadName
  31. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-debug.traceback]traceback[/url]
  32. [/list][url=http://www.lua.org/manual/5.1/es/manual.html#pdf-error]error[/url]
  33. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-getmetatable]getmetatable[/url]
  34. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-ipairs]ipairs[/url]
  35. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math]math[/url]
  36. [list][url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.abs]abs[/url]
  37. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.acos]acos[/url]
  38. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.asin]asin[/url]
  39. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.atan]atan[/url]
  40. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.atan2]atan2[/url]
  41. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.ceil]ceil[/url]
  42. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.cos]cos[/url]
  43. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.cosh]cosh[/url]
  44. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.deg]deg[/url]
  45. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.exp]exp[/url]
  46. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.floor]floor[/url]
  47. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.fmod]fmod[/url]
  48. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.frexp]frexp[/url]
  49. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.huge]huge[/url]
  50. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.ldexp]ldexp[/url]
  51. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.log]log[/url]
  52. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.max]max[/url]
  53. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.min]min[/url]
  54. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.modf]modf[/url]
  55. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.pi]pi[/url]
  56. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.pow]pow[/url]
  57. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.rad]rad[/url]
  58. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.random]random[/url]
  59. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.randomseed]randomseed[/url]
  60. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.sin]sin[/url]
  61. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.sinh]sinh[/url]
  62. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.sqrt]sqrt[/url]
  63. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.tan]tan[/url]
  64. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-math.tanh]tanh[/url]
  65. [/list][url=http://www.lua.org/manual/5.1/es/manual.html#pdf-next]next[/url]
  66. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-os]os[/url]
  67. [list][url=http://www.lua.org/manual/5.1/es/manual.html#pdf-os.date]date[/url]
  68. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-os.difftime]difftime[/url]
  69. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-os.time]time[/url]
  70. [/list][url=http://www.lua.org/manual/5.1/es/manual.html#pdf-pairs]pairs[/url]
  71. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-pcall]pcall[/url]
  72. print
  73. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-rawequal]rawequal[/url]
  74. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-rawget]rawget[/url]
  75. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-rawlen]rawlen[/url]
  76. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-rawset]rawset[/url]
  77. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-select]select[/url]
  78. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-setmetatable]setmetatable[/url]
  79. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-string]string[/url]
  80. [list][url=http://www.lua.org/manual/5.1/es/manual.html#pdf-string.byte]byte[/url]
  81. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-string.char]char[/url]
  82. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-string.dump]dump[/url]
  83. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-string.find]find[/url]
  84. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-string.format]format[/url]
  85. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-string.gmatch]gmatch[/url]
  86. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-string.gsub]gsub[/url]
  87. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-string.len]len[/url]
  88. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-string.lower]lower[/url]
  89. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-string.match]match[/url]
  90. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-string.rep]rep[/url]
  91. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-string.reverse]reverse[/url]
  92. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-string.sub]sub[/url]
  93. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-string.upper]upper[/url]
  94. [/list]system
  95. [list]bindKeyboard
  96. bindMouse
  97. disableChatCommandDisplay
  98. exit
  99. giveEventGift
  100. loadFile
  101. loadPlayerData
  102. newTimer
  103. removeTimer
  104. saveFile
  105. savePlayerData
  106. [/list][url=http://www.lua.org/manual/5.1/es/manual.html#pdf-table]table[/url]
  107. [list][url=http://www.lua.org/manual/5.1/es/manual.html#pdf-table.concat]concat[/url]
  108. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-table.foreach]foreach[/url]
  109. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-table.foreachi]foreachi[/url]
  110. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-table.insert]insert[/url]
  111. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-table.pack]pack[/url]
  112. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-table.remove]remove[/url]
  113. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-table.sort]sort[/url]
  114. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-table.unpack]unpack[/url]
  115. [/list]tfm
  116. [list]enum
  117. [list]bonus
  118. [list]point [color=#60608F]: 0[/color]
  119. speed [color=#60608F]: 1[/color]
  120. death [color=#60608F]: 2[/color]
  121. spring [color=#60608F]: 3[/color]
  122. booster [color=#60608F]: 5[/color]
  123. electricArc [color=#60608F]: 6[/color]
  124. [/list]emote
  125. [list]dance [color=#60608F]: 0[/color]
  126. laugh [color=#60608F]: 1[/color]
  127. cry [color=#60608F]: 2[/color]
  128. kiss [color=#60608F]: 3[/color]
  129. angry [color=#60608F]: 4[/color]
  130. clap [color=#60608F]: 5[/color]
  131. sleep [color=#60608F]: 6[/color]
  132. facepaw [color=#60608F]: 7[/color]
  133. sit [color=#60608F]: 8[/color]
  134. confetti [color=#60608F]: 9[/color]
  135. flag [color=#60608F]: 10[/color]
  136. marshmallow [color=#60608F]: 11[/color]
  137. selfie [color=#60608F]: 12[/color]
  138. highfive [color=#60608F]: 13[/color]
  139. highfive_1 [color=#60608F]: 14[/color]
  140. highfive_2 [color=#60608F]: 15[/color]
  141. partyhorn [color=#60608F]: 16[/color]
  142. hug [color=#60608F]: 17[/color]
  143. hug_1 [color=#60608F]: 18[/color]
  144. hug_2 [color=#60608F]: 19[/color]
  145. jigglypuff [color=#60608F]: 20[/color]
  146. kissing [color=#60608F]: 21[/color]
  147. kissing_1 [color=#60608F]: 22[/color]
  148. kissing_2 [color=#60608F]: 23[/color]
  149. carnaval [color=#60608F]: 24[/color]
  150. rockpaperscissors [color=#60608F]: 25[/color]
  151. rockpaperscissors_1 [color=#60608F]: 26[/color]
  152. rockpaperscissor_2 [color=#60608F]: 27[/color]
  153. [/list]ground
  154. [list]wood [color=#60608F]: 0[/color]
  155. ice [color=#60608F]: 1[/color]
  156. trampoline [color=#60608F]: 2[/color]
  157. lava [color=#60608F]: 3[/color]
  158. chocolate [color=#60608F]: 4[/color]
  159. earth [color=#60608F]: 5[/color]
  160. grass [color=#60608F]: 6[/color]
  161. sand [color=#60608F]: 7[/color]
  162. cloud [color=#60608F]: 8[/color]
  163. water [color=#60608F]: 9[/color]
  164. stone [color=#60608F]: 10[/color]
  165. snow [color=#60608F]: 11[/color]
  166. rectangle [color=#60608F]: 12[/color]
  167. circle [color=#60608F]: 13[/color]
  168. invisible [color=#60608F]: 14[/color]
  169. web [color=#60608F]: 15[/color]
  170. yellowGrass [color=#60608F]: 17[/color]
  171. pinkGrass [color=#60608F]: 18[/color]
  172. acid [color=#60608F]: 19[/color]
  173. [/list]particle
  174. [list]whiteGlitter [color=#60608F]: 0[/color]
  175. blueGlitter [color=#60608F]: 1[/color]
  176. orangeGlitter [color=#60608F]: 2[/color]
  177. cloud [color=#60608F]: 3[/color]
  178. dullWhiteGlitter [color=#60608F]: 4[/color]
  179. heart [color=#60608F]: 5[/color]
  180. bubble [color=#60608F]: 6[/color]
  181. tealGlitter [color=#60608F]: 9[/color]
  182. spirit [color=#60608F]: 10[/color]
  183. yellowGlitter [color=#60608F]: 11[/color]
  184. ghostSpirit [color=#60608F]: 12[/color]
  185. redGlitter [color=#60608F]: 13[/color]
  186. waterBubble [color=#60608F]: 14[/color]
  187. plus1 [color=#60608F]: 15[/color]
  188. plus10 [color=#60608F]: 16[/color]
  189. plus12 [color=#60608F]: 17[/color]
  190. plus14 [color=#60608F]: 18[/color]
  191. plus16 [color=#60608F]: 19[/color]
  192. meep [color=#60608F]: 20[/color]
  193. redConfetti [color=#60608F]: 21[/color]
  194. greenConfetti [color=#60608F]: 22[/color]
  195. blueConfetti [color=#60608F]: 23[/color]
  196. yellowConfetti [color=#60608F]: 24[/color]
  197. diagonalRain [color=#60608F]: 25[/color]
  198. curlyWind [color=#60608F]: 26[/color]
  199. wind [color=#60608F]: 27[/color]
  200. rain [color=#60608F]: 28[/color]
  201. star [color=#60608F]: 29[/color]
  202. littleRedHeart [color=#60608F]: 30[/color]
  203. littlePinkHeart [color=#60608F]: 31[/color]
  204. daisy [color=#60608F]: 32[/color]
  205. bell [color=#60608F]: 33[/color]
  206. egg [color=#60608F]: 34[/color]
  207. projection [color=#60608F]: 35[/color]
  208. mouseTeleportation [color=#60608F]: 36[/color]
  209. shamanTeleportation [color=#60608F]: 37[/color]
  210. lollipopConfetti [color=#60608F]: 38[/color]
  211. yellowCandyConfetti [color=#60608F]: 39[/color]
  212. pinkCandyConfetti [color=#60608F]: 40[/color]
  213. [/list]shamanObject
  214. [list]arrow [color=#60608F]: 0[/color]
  215. littleBox [color=#60608F]: 1[/color]
  216. box [color=#60608F]: 2[/color]
  217. littleBoard [color=#60608F]: 3[/color]
  218. board [color=#60608F]: 4[/color]
  219. ball [color=#60608F]: 6[/color]
  220. trampoline [color=#60608F]: 7[/color]
  221. anvil [color=#60608F]: 10[/color]
  222. cannon [color=#60608F]: 17[/color]
  223. bomb [color=#60608F]: 23[/color]
  224. orangePortal [color=#60608F]: 26[/color]
  225. blueBalloon [color=#60608F]: 28[/color]
  226. redBalloon [color=#60608F]: 29[/color]
  227. greenBalloon [color=#60608F]: 30[/color]
  228. yellowBalloon [color=#60608F]: 31[/color]
  229. rune [color=#60608F]: 32[/color]
  230. chicken [color=#60608F]: 33[/color]
  231. snowBall [color=#60608F]: 34[/color]
  232. cupidonArrow [color=#60608F]: 35[/color]
  233. apple [color=#60608F]: 39[/color]
  234. sheep [color=#60608F]: 40[/color]
  235. littleBoardIce [color=#60608F]: 45[/color]
  236. littleBoardChocolate [color=#60608F]: 46[/color]
  237. iceCube [color=#60608F]: 54[/color]
  238. cloud [color=#60608F]: 57[/color]
  239. bubble [color=#60608F]: 59[/color]
  240. tinyBoard [color=#60608F]: 60[/color]
  241. companionCube [color=#60608F]: 61[/color]
  242. stableRune [color=#60608F]: 62[/color]
  243. balloonFish [color=#60608F]: 65[/color]
  244. longBoard [color=#60608F]: 67[/color]
  245. triangle [color=#60608F]: 68[/color]
  246. sBoard [color=#60608F]: 69[/color]
  247. paperPlane [color=#60608F]: 80[/color]
  248. rock [color=#60608F]: 85[/color]
  249. pumpkinBall [color=#60608F]: 89[/color]
  250. tombstone [color=#60608F]: 90[/color]
  251. paperBall [color=#60608F]: 95[/color]
  252. [/list][/list]exec
  253. [list]addBonus
  254. addConjuration
  255. addImage
  256. addJoint
  257. addPhysicObject
  258. addShamanObject
  259. attachBalloon
  260. bindKeyboard
  261. changePlayerSize
  262. chatMessage
  263. disableAfkDeath
  264. disableAllShamanSkills
  265. disableAutoNewGame
  266. disableAutoScore
  267. disableAutoShaman
  268. disableAutoTimeLeft
  269. disableDebugCommand
  270. disableMinimalistMode
  271. disableMortCommand
  272. disablePhysicalConsumables
  273. disablePrespawnPreview
  274. disableWatchCommand
  275. displayParticle
  276. explosion
  277. freezePlayer
  278. getPlayerSync
  279. giveCheese
  280. giveConsumables
  281. giveMeep
  282. giveTransformations
  283. killPlayer
  284. linkMice
  285. lowerSyncDelay
  286. moveObject
  287. movePlayer
  288. newGame
  289. playEmote
  290. playerVictory
  291. removeBonus
  292. removeCheese
  293. removeImage
  294. removeJoint
  295. removeObject
  296. removePhysicObject
  297. respawnPlayer
  298. setAutoMapFlipMode
  299. setGameTime
  300. setNameColor
  301. setPlayerSync
  302. setPlayerScore
  303. setRoomMaxPlayers
  304. setRoomPassword
  305. setShaman
  306. setShamanMode
  307. setUIMapName
  308. setUIShamanName
  309. setVampirePlayer
  310. setWorldGravity
  311. snow
  312. [/list]get
  313. [list]misc
  314. [list]apiVersion [color=#60608F]: 0.28[/color]
  315. transformiceVersion [color=#60608F]: 6.09[/color]
  316. [/list]room
  317. [list]community [color=#60608F]: -[/color]
  318. language [color=#60608F]: int[/color]
  319. isTribeHouse [color=#60608F]: false[/color]
  320. currentMap [color=#60608F]: 0[/color]
  321. maxPlayers [color=#60608F]: 50[/color]
  322. mirroredMap [color=#60608F]: false[/color]
  323. name [color=#60608F]: -[/color]
  324. objectList
  325. [list]1
  326. [list]angle [color=#60608F]: 0[/color]
  327. baseType [color=#60608F]: 2[/color]
  328. colors
  329. [list]1
  330. 2
  331. 3
  332. [/list]ghost [color=#60608F]: false[/color]
  333. id [color=#60608F]: 1[/color]
  334. type [color=#60608F]: 203[/color]
  335. vx [color=#60608F]: 0[/color]
  336. vy [color=#60608F]: 0[/color]
  337. x [color=#60608F]: 400[/color]
  338. y [color=#60608F]: 200[/color]
  339. [/list][/list]passwordProtected [color=#60608F]: false[/color]
  340. playerList
  341. [list]Tigrounette
  342. [list]cheeses [color=#60608F]: 0[/color]
  343. community [color=#60608F]: en[/color]
  344. gender [color=#60608F]: 0[/color]
  345. hasCheese [color=#60608F]: false[/color]
  346. id [color=#60608F]: 0[/color]
  347. inHardMode [color=#60608F]: 0[/color]
  348. isDead [color=#60608F]: true[/color]
  349. isFacingRight [color=#60608F]: true[/color]
  350. isInvoking [color=#60608F]: false[/color]
  351. isJumping [color=#60608F]: false[/color]
  352. isShaman [color=#60608F]: false[/color]
  353. isVampire [color=#60608F]: false[/color]
  354. language [color=#60608F]: int[/color]
  355. look [color=#60608F]: 1;0,0,0,0,0,0,0,0,0[/color]
  356. movingLeft [color=#60608F]: false[/color]
  357. movingRight [color=#60608F]: false[/color]
  358. playerName [color=#60608F]: Tigrounette#0001[/color]
  359. registrationDate [color=#60608F]: 0[/color]
  360. score [color=#60608F]: 0[/color]
  361. shamanMode [color=#60608F]: 0[/color]
  362. spouseId [color=#60608F]: 1[/color]
  363. spouseName [color=#60608F]: Pikashu#0095[/color]
  364. title [color=#60608F]: 0[/color]
  365. tribeId [color=#60608F]: 1234[/color]
  366. tribeName [color=#60608F]: Kikoo[/color]
  367. vx [color=#60608F]: 0[/color]
  368. vy [color=#60608F]: 0[/color]
  369. x [color=#60608F]: 0[/color]
  370. y [color=#60608F]: 0[/color]
  371. [/list][/list]uniquePlayers [color=#60608F]: 1[/color]
  372. xmlMapInfo
  373. [list]author [color=#60608F]: Tigrounette#0001[/color]
  374. mapCode [color=#60608F]: 184924[/color]
  375. permCode [color=#60608F]: 1[/color]
  376. xml [color=#60608F]: <C><P /><Z><S /><D /><O /></Z></C>[/color][/list][/list][/list][/list][url=http://www.lua.org/manual/5.1/es/manual.html#pdf-tonumber]tonumber[/url]
  377. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-tostring]tostring[/url]
  378. [url=http://www.lua.org/manual/5.1/es/manual.html#pdf-type]type[/url]
  379. ui
  380. [list]addPopup
  381. addTextArea
  382. removeTextArea
  383. setBackgroundColor
  384. setMapName
  385. setShamanName
  386. showColorPicker
  387. updateTextArea
  388. [/list][url=http://www.lua.org/manual/5.1/es/manual.html#pdf-xpcall]xpcall[/url]
  389. [/#Árbol de lua]
  390. [#Ayuda][p=center][img]https://imgur.com/TowmgT9.png[/img][/p]
  391.  
  392. [b][color=#1a1a1a]¿Cómo usar Lua?[/color][/b]
  393.  
  394. El manual: [url]http://www.lua.org/docs.html[/url] (En Inglés)
  395.                  [url]http://www.lua.org/manual/5.1/es/manual.html[/url] (En español)
  396.  
  397. [hr]
  398.  
  399. [b][color=#1a1a1a]¿Cómo abro esa ventana de Lua donde pongo los scripts?[/color][/b]
  400.  
  401. Escribe [color=#009D9D]/lua[/color] en el chat.
  402. ¡Esto sólo lo puedes usar en la casa de la tribu!
  403.  
  404. [hr]
  405.  
  406. [b][color=#1a1a1a]¿Necesitas ayuda?[/color][/b]
  407.  
  408. Puedes pedir ayuda a cualquier persona que sepa sobre Lua por el juego a través del chat #lua, o en el canal de [url=https://discord.com/channels/246815328103825409/501743449490325514]#modules[/url] en el [url=https://discord.gg/transformice]Discord[/url] oficial de Transformice, también puedes entrar al tema de [url=http://atelier801.com/topic?f=6&t=462965]Preguntas y Respuestas[/url] o al de [url=http://atelier801.com/topic?f=6&t=485026]Pedidos de script[/url] si más bien necesitas ayuda con un script.
  409.  
  410. También por el subforo de [url=https://atelier801.com/section?f=6&s=247]Guías y Tutoriales[/url] de Modules, encontrarás información específica según lo que necesites.
  411.  
  412. Puedes encontrar una versión en inglés de la documentación utilizando el comando [color=#009D9D]/luahelp[/color] en el juego.
  413. [hr]
  414.  
  415. [b][color=#1a1a1a]Significado de las palabras entre paréntesis[/color][/b]
  416.  
  417. Si no estás seguro de cómo introducir los datos en una función, o utilizarlos de un evento, puedes leer la siguiente información que te ayudará a comprender qué debes poner entre los paréntesis:
  418.  
  419. [list]
  420. [*][b](Int)[/b] : Int significa un número [u]entero[/u], es decir, que no posea decimales. Siempre que indique esto deberás poner un número de ese tipo. No se pueden poner decimales.[/*]
  421. [*][b](String)[/b] : String se refiere a una cadena de caracteres, es decir, un [u]texto[/u]. Siempre que indique esto, deberás de poner lo que te pidan entre comillas ("así").[/*]
  422. [*][b](Boolean)[/b] : Boolean se refiere a una condición, si algo es [u]true[/u]: activado, cierto, afirmativo; o [u]false[/u]: desactivado, falso, negativo. Las palabras subrayadas van directamente y no deben estar contenidas entre comillas.[/*]
  423. [*][b](Table)[/b] : Una tabla es una recopilación de [u]varios datos[/u] que se encuentran contenidos en una [u]única variable[/u] más grande. Puedes crear una tabla con x = { a=1, b=2, c=3}, o introduciéndola en una función directamente, con solo el contenido dentro de las llaves { } según lo que te pidan.[/*]
  424. [*][b](Object)[/b] : Es similar a una tabla. En la documentación te indicará que parámetros debes introducir.[/*]
  425. [*][b](Float)[/b] : Float es un número de "punto flotante", básicamente un [u]decimal[/u]. ¡Solo introduce decimales cuando te lo pidan!, pues de otra manera las funciones no se ejecutarán correctamente.[/*]
  426. [*][b](Number)[/b] : Puede ser un número de [u]cualquier tipo[/u], ya sea Int o Float.[/*]
  427. [/list]
  428.  
  429. [hr]
  430.  
  431. [b][color=#1a1a1a]¿No encontraste alguna ID en el árbol?[/color][/b]
  432.  
  433. Puedes ver todos los IDs de todos los objetos, partículas, emociones y demás en este tema: [url=http://atelier801.com/topic?f=6&t=784507][Modules] Información[/url][/#Ayuda]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement