×

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
« ‹ 26 / 38 › »
Module API FAQ
Orb
« Censeur »
1387559160000
    • Orb#0095
    • Profil
    • Derniers messages
    • Tribu
#501
  0
Why is ediz in the error messages now...? o.o

## Init Error : Ediz.lua:274: [string "Magicalorb.lua"]:21: '=' expected
Tailtong
« Citoyen »
1387559760000
    • Tailtong#0000
    • Profil
    • Derniers messages
    • Tribu
#502
  0
liam said that tig just messed up with that
Shamousey
« Consul »
1387561680000
    • Shamousey#0095
    • Profil
    • Derniers messages
    • Tribu
#503
  0
Ediz is the cause of all errors.
Arber
« Citoyen »
1387561800000
    • Arber#0000
    • Profil
    • Derniers messages
    • Tribu
#504
  0
Shamousey a dit :
Ediz is the cause of all errors.

lol
Kittyepress
« Citoyen »
1387570260000
    • Kittyepress#0000
    • Profil
    • Derniers messages
#505
  0
Shamousey a dit :
Ediz is the cause of all errors.

lol 2x
Mousechris
« Censeur »
1387609560000
    • Mousechris#0000
    • Profil
    • Derniers messages
    • Tribu
#506
  0
Can LUA detect if a player is online?
Papero
« Citoyen »
1387609680000
    • Papero#9240
    • Profil
    • Derniers messages
    • Tribu
#507
  0
Mousechris a dit :
Can LUA detect if a player is online?

I doubt so, i think it only has jurisdiction over a room
Kittyepress
« Citoyen »
1387628520000
    • Kittyepress#0000
    • Profil
    • Derniers messages
#508
  0
Why my lua codes wont work? i put them in Lua, but they are not working
Safwanrockz
« Censeur »
1387632000000
    • Safwanrockz#0095
    • Profil
    • Derniers messages
    • Tribu
#509
  0
Kittyepress a dit :
Why my lua codes wont work? i put them in Lua, but they are not working

You either have been banned for hacking before or don't have 1000 cheese.
Yteizz
« Citoyen »
1387665000000
    • Yteizz#0000
    • Profil
    • Derniers messages
#510
  0
I wonder who are the programmers of BR
Safwanrockz
« Censeur »
1387665480000
    • Safwanrockz#0095
    • Profil
    • Derniers messages
    • Tribu
#511
  0
Yteizz a dit :
I wonder who are the programmers of BR

There aren't really programmers for each community.
Laagaadoo
« Citoyen »
1387717620000
    • Laagaadoo#0000
    • Profil
    • Derniers messages
    • Tribu
#512
  0
How to get the ID of a object created?
Safwanrockz
« Censeur »
1387717860000
    • Safwanrockz#0095
    • Profil
    • Derniers messages
    • Tribu
#513
  0
Laagaadoo a dit :
How to get the ID of a object created?

The event SummoningEnd stores the ID of every spawned object in a table.
a dit :

function eventSummoningEnd(name,type,x,y,angle,vx,vy,itemDetails)
print(itemDetails.id)
end

 
Laagaadoo
« Citoyen »
1387718640000
    • Laagaadoo#0000
    • Profil
    • Derniers messages
    • Tribu
#514
  0
Safwanrockz a dit :
The event SummoningEnd stores the ID of every spawned object in a table.
 

Thanks :D
Safwanrockz
« Censeur »
1387718760000
    • Safwanrockz#0095
    • Profil
    • Derniers messages
    • Tribu
#515
  0
Laagaadoo a dit :
Thanks :D

(Issey told me about it :v)
Rinz
« Citoyen »
1387736820000
    • Rinz#4657
    • Profil
    • Derniers messages
#516
  0
This can use only lua crews?
Laagaadoo
« Citoyen »
1387752300000
    • Laagaadoo#0000
    • Profil
    • Derniers messages
    • Tribu
#517
  0
How to get the ID of a object spawned by click of player? Example:

Script a dit :

system.bindMouse("Laagaadoo", true)

function eventMouse(p, x, y)
tfm.exec.addShamanObject(10, x, y, 0, 0, 0, false)
end

 
Maxxzinnn
« Citoyen »
1387753080000
    • Maxxzinnn#0000
    • Profil
    • Derniers messages
    • Tribu
#518
  0
Shamousey a dit :
Ediz is the cause of all errors.

nope :D

## Init Error : Lolitavip.lua:47: [string "Maxxzinnn.lua"]:7: '=' expected
Orb
« Censeur »
1387790040000
    • Orb#0095
    • Profil
    • Derniers messages
    • Tribu
#519
  0
heh

got

## Init Error : Juunniioorrs.lua:28: [string "Magicalorb.lua"]:205: unexpected symbol

tig is drunk I guess.
Safwanrockz
« Censeur »
1387806420000
    • Safwanrockz#0095
    • Profil
    • Derniers messages
    • Tribu
#520
  0
Laagaadoo a dit :
How to get the ID of a object spawned by click of player? Example:


 

Store the tfm.exec.addShamanObjct() function in a variable:
a dit :

system.bindMouse("Laagaadoo", true)

function eventMouse(p, x, y)
id=tfm.exec.addShamanObject(10, x, y, 0, 0, 0, false)
end

Now you have the id of it. o/
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • Module API FAQ
« ‹ 26 / 38 › »
© Atelier801 2018

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

Version 1.27