×

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
« ‹ 25 / 38 › »
Module API FAQ
Abdeltif
« Citoyen »
1386263640000
    • Abdeltif#0000
    • Profil
    • Derniers messages
    • Tribu
#481
  0
Safwanrockz a dit :
Nothing? It's still Version 0.15.

It was 0.14 . There is a new
Orb
« Censeur »
1386263760000
    • Orb#0095
    • Profil
    • Derniers messages
    • Tribu
#482
  0
In 0.15 there's a new script that lets you add particles
Abdeltif
« Citoyen »
1386264300000
    • Abdeltif#0000
    • Profil
    • Derniers messages
    • Tribu
#483
  0
Oh , I thought that already added befor , damn you mercy ,,,...
Ty
Zyx
« Censeur »
1386282480000
    • Zyx#8690
    • Profil
    • Derniers messages
#484
  0
What's the variable for mouseclick?
Safwanrockz
« Censeur »
1386287100000
    • Safwanrockz#0095
    • Profil
    • Derniers messages
    • Tribu
#485
  0
Swirlfire a dit :
What's the variable for mouseclick?

It's not a variable, it's an event;
a dit :

function eventMouse(name,x,y)
-- triggers when the mouse is clicked at the coords of x and y.
end

 
Irishcow
1386376680000
    • Irishcow#0095
    • Profil
    • Derniers messages
    • Tribu
#486
[Modéré par Bolinboy, raison : requested]
Vortexial
« Citoyen »
1386552540000
    • Vortexial#0000
    • Profil
    • Derniers messages
    • Tribu
#487
  0
Where is Forteresse? D:
Shamousey
« Consul »
1386553080000
    • Shamousey#0095
    • Profil
    • Derniers messages
    • Tribu
#488
  0
Vortexial a dit :
Where is Forteresse? D:

Forteresse was never a module, it's a completely separate game. It was removed from Transformice a short while ago presumably because it'll be getting its own website soon, like Bouboum has.
Grimrice
« Citoyen »
1386897780000
    • Grimrice#0000
    • Profil
    • Derniers messages
    • Tribu
#489
  0
Is there a way to edit maps whilst being in utility itself?
Shamousey
« Consul »
1386897900000
    • Shamousey#0095
    • Profil
    • Derniers messages
    • Tribu
#490
  0
Grimrice a dit :
Is there a way to edit maps whilst being in utility itself?

Unfortunately not.
Abdeltif
« Citoyen »
1387106280000
    • Abdeltif#0000
    • Profil
    • Derniers messages
    • Tribu
#491
  0
[Deleted]
Kmlcan
« Citoyen »
1387198920000
    • Kmlcan#0000
    • Profil
    • Derniers messages
    • Tribu
#492
  0
Umm...

http://i.imgur.com/7lPGEit.png
Fatihmilano
« Citoyen »
1387199580000
    • Fatihmilano#0000
    • Profil
    • Derniers messages
    • Tribu
#493
  0
Kmlcan a dit :
Umm...

Number a dit :
1387198603338

Hahahaha.
Safwanrockz
« Censeur »
1387299540000
    • Safwanrockz#0095
    • Profil
    • Derniers messages
    • Tribu
#494
  0
Kmlcan a dit :
Umm...

A long "for" or "while" statement can make this occur: (Shamousey's example):
a dit :
for i=1,10000000000 do
--This will cause an error.
end

 
Bartjsinsom
1387481820000
    • Bartjsinsom#0000
    • Profil
    • Derniers messages
#495
[Modéré par Takumisyn, raison : Please speak English here.]
Kmlcan
« Citoyen »
1387484280000
    • Kmlcan#0000
    • Profil
    • Derniers messages
    • Tribu
#496
  0
Safwanrockz a dit :
A long "for" or "while" statement can make this occur: (Shamousey's example):
 

I used this;
a dit :
t=os.time() while os.difftime(os.time(),t) < 4500 do end print('test')
Abdeltif
« Citoyen »
1387496160000
    • Abdeltif#0000
    • Profil
    • Derniers messages
    • Tribu
#497
  0
Kmlcan a dit :
I used this;

That why is long
Just try using eventLoop() for that
Because it sadly won't work :x
Safwanrockz
« Censeur »
1387500120000
    • Safwanrockz#0095
    • Profil
    • Derniers messages
    • Tribu
#498
  0
Kmlcan a dit :
I used this;

Yep, that's an excessively long while statment.
Basically that script should keep printing "test" for 4500 seconds, because the os.difftime(os.time(),t) calculates the time between os.time() and t, likewise printing "test" every second until it reaches 4500 seconds/times.
Kmlcan
« Citoyen »
1387539840000
    • Kmlcan#0000
    • Profil
    • Derniers messages
    • Tribu
#499
  0
I know, I wanted to see the limit of the runtime thingy, but I don't know why it said 1387198603338 ms. I think that was some kind of a bug.
Issey
« Citoyen »
1387552620000
    • Issey#0000
    • Profil
    • Derniers messages
#500
  0
Kmlcan a dit :
I know, I wanted to see the limit of the runtime thingy, but I don't know why it said 1387198603338 ms. I think that was some kind of a bug.

That's actually epoch time. Google it if you want to know more
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • Module API FAQ
« ‹ 25 / 38 › »
© Atelier801 2018

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

Version 1.27