×

Langue

Fermer
Atelier 801
  • Forums
  • Dev Tracker
  • Connexion
    • English Français
      Português do Brasil Español
      Türkçe Polski
      Magyar Română
      العربية Skandinavisk
      Nederlands Deutsch
      Bahasa Indonesia Русский
      中文 Filipino
      Lietuvių kalba 日本語
      Suomi עברית
      Italiano Česky
      Hrvatski Slovensky
      Български Latviešu
      Estonian
  • Langue
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • Module API FAQ
« ‹ 23 / 38 › »
Module API FAQ
Abdeltif
« Citoyen »
1383493320000
    • Abdeltif#0000
    • Profil
    • Derniers messages
    • Tribu
#441
  0
Abdeltif a dit :
How can we use time with eventLoop(t ,tr) fonction
for example i have :

function eventLoop()
for i=1,1 do
tfm.exec.addShamanObject(0, 400, 200)
end

Please ?

Abdeltif a dit :
No
A delay of 2 sc

.
Tailtong
« Citoyen »
1383494880000
    • Tailtong#0000
    • Profil
    • Derniers messages
    • Tribu
#442
  0
timer=2

function eventLoop()
timer=timer-0.5
if timer==0 then
for i=1,1 do
tfm.exec.addShamanObject(0, 400, 200)
end
timer=2
end
end

You could make a timer variable.
Orb
« Censeur »
1383501540000
    • Orb#0095
    • Profil
    • Derniers messages
    • Tribu
#443
  0
I thought timers were only available for lua testers?

e: oh right nvm
Zyx
« Censeur »
1383505500000
    • Zyx#8690
    • Profil
    • Derniers messages
#444
  0
a dit :
tfm.get.room.currentMap( -- tribu = { "The Bumblebees")

tfm.get.room.map endif ( -- tfm.exec.room.set)

table = {
(skip, room, command)

tfm.exec.chatMessage(String message)

commands = {
(skip, nil)

end

Is this a valid script? I got this from someone.
Shamousey
« Consul »
1383510600000
    • Shamousey#0095
    • Profil
    • Derniers messages
    • Tribu
#445
  0
Swirlfire a dit :
Is this a valid script? I got this from someone.

You could just run it in the tribe house and see, but no this is far from valid syntax.
Mousechris
« Censeur »
1383526380000
    • Mousechris#0000
    • Profil
    • Derniers messages
    • Tribu
#446
  0
Is there anyway to make a script that shows/updates your tribes rank?
Shamousey
« Consul »
1383528300000
    • Shamousey#0095
    • Profil
    • Derniers messages
    • Tribu
#447
  0
Mousechris a dit :
Is there anyway to make a script that shows/updates your tribes rank?

No - I asked Tig about this before and he said he has no plans to ever implement any sort of thing like this either.
Zyx
« Censeur »
1383533280000
    • Zyx#8690
    • Profil
    • Derniers messages
#448
  0
Shamousey a dit :
You could just run it in the tribe house and see, but no this is far from valid syntax.

Oh, so he's trying to make a script where you np three maps and you use a command and it repeats the maps 1 second in a triple row. So how do I code that?
Papero
« Citoyen »
1383533520000
    • Papero#9240
    • Profil
    • Derniers messages
    • Tribu
#449
  0
Shamousey a dit :
No - I asked Tig about this before and he said he has no plans to ever implement any sort of thing like this either.

Well it would be spiffy if possible >_<
Better tribehouses/
Impossiblevn
« Citoyen »
1383628620000
    • Impossiblevn#0000
    • Profil
    • Derniers messages
    • Tribu
#450
  0
I dont know hot to do a lua code >_< . Some and can teach me plz ;D
Shamousey
« Consul »
1383643260000
    • Shamousey#0095
    • Profil
    • Derniers messages
    • Tribu
#451
  0
Impossiblevn a dit :
I dont know hot to do a lua code &gt;_&lt; . Some and can teach me plz ;D

There is a list of links to tutorials in the opening post under the "Lua" heading, try looking at some of those.
Impossiblevn
« Citoyen »
1383648720000
    • Impossiblevn#0000
    • Profil
    • Derniers messages
    • Tribu
#452
  0
ok :<
im waiting for a tutorial and i can make my game
Abdeltif
« Citoyen »
1383651180000
    • Abdeltif#0000
    • Profil
    • Derniers messages
    • Tribu
#453
  0
I wish to join Lua TESTERS team.
I am trusted (no abuse of power) and (no abuse of addImage)
I can speak english a bit fluently
You can find all the modules i am creating and was created in my scripts thread.
Epicshawty
« Citoyen »
1383672060000
    • Epicshawty#0000
    • Profil
    • Derniers messages
    • Tribu
#454
  0
Abdeltif a dit :
I wish to join Lua TESTERS team.
I am trusted (no abuse of power) and (no abuse of addImage)
I can speak english a bit fluently
You can find all the modules i am creating and was created in my scripts thread.

u have to whisper a lua member i think
or i may be wrong sorry
Kmlcan
« Citoyen »
1383852540000
    • Kmlcan#0000
    • Profil
    • Derniers messages
    • Tribu
#455
  0
Abdeltif a dit :
I wish to join Lua TESTERS team.
I am trusted (no abuse of power) and (no abuse of addImage)
I can speak english a bit fluently
You can find all the modules i am creating and was created in my scripts thread.

I think a lua tester must suggest you, or not. Idk either.
Bolinboy
« Citoyen »
1383926100000
    • Bolinboy#0095
    • Profil
    • Derniers messages
#456
  0
How can I join the Lua Team?
If you wish to join the Lua Team you must be referred by an existing member of the team. You must speak fluent English in order to communicate with the rest of the team, be a trusted member of the community and already have knowledge in using Lua. It's also a good idea if you already have a module you've created to show off your skills.

So posting in this thread is probably not the best way to go about asking to join.
Zyx
« Censeur »
1383967080000
    • Zyx#8690
    • Profil
    • Derniers messages
#457
  0
Bolinboy a dit :
How can I join the Lua Team?
If you wish to join the Lua Team you must be referred by an existing member of the team. You must speak fluent English in order to communicate with the rest of the team, be a trusted member of the community and already have knowledge in using Lua. It's also a good idea if you already have a module you've created to show off your skills.

So posting in this thread is probably not the best way to go about asking to join.

So.. You're able to join if you know a bit about Lua like I do? Like submitting scripts and have little knowledge of making tribe house minigames?

And does it have a age requirement..?
Shamousey
« Consul »
1383968340000
    • Shamousey#0095
    • Profil
    • Derniers messages
    • Tribu
#458
  0
Swirlfire a dit :
So.. You're able to join if you know a bit about Lua like I do? Like submitting scripts and have little knowledge of making tribe house minigames?

And does it have a age requirement..?

Well a "bit" of knowledge like loading scripts isn't necessarily very useful, you need to know how to code properly. There's no age limit.
Issey
« Citoyen »
1383998040000
    • Issey#0000
    • Profil
    • Derniers messages
#459
  0
Shamousey a dit :
Well a "bit" of knowledge like loading scripts isn't necessarily very useful, you need to know how to code properly. There's no age limit.

>no age limit
>heck yes
Orb
« Censeur »
1384003320000
    • Orb#0095
    • Profil
    • Derniers messages
    • Tribu
#460
  0
Issey a dit :
&gt;no age limit
&gt;heck yes

b-but you have to be smart

:'( how2
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • Module API FAQ
« ‹ 23 / 38 › »
© Atelier801 2018

Equipe Conditions Générales d'Utilisation Politique de Confidentialité Contact

Version 1.27