×

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
  • /
  • Modules
  • /
  • Script Requests
« ‹ 138 / 160 › »
Script Requests
Koruto
« Citoyen »
1518402900000
    • Koruto#2851
    • Profil
    • Derniers messages
    • Tribu
#2741
  1
Ty but what's emote and emoji can you tell.
Bolodefchoco
« Sénateur »
1518403200000
    • Bolodefchoco#0095
    • Profil
    • Derniers messages
    • Tribu
#2742
  0
Hemant2002 a dit :
Ty but what's emote and emoji can you tell.

.-.

emote: https://image.prntscr.com/image/WRH3uhDnSHm15kr_peS_GQ.png

emoji: https://image.prntscr.com/image/L9B7a_mOQNGj6gJGQM-NSg.png
Koruto
« Citoyen »
1518403800000
    • Koruto#2851
    • Profil
    • Derniers messages
    • Tribu
#2743
  0
Then isn't there any way to play emoji?
How do we play it then in tfm ?
Bolodefchoco
« Sénateur »
1518409680000
    • Bolodefchoco#0095
    • Profil
    • Derniers messages
    • Tribu
#2744
  0
Hemant2002 a dit :
Then isn't there any way to play emoji?
How do we play it then in tfm ?

Nope and tfm isn't made of lua
Koruto
« Citoyen »
1518412680000
    • Koruto#2851
    • Profil
    • Derniers messages
    • Tribu
#2745
  0
Got it
Overjoy06
« Citoyen »
1518511380000
    • Overjoy06#0000
    • Profil
    • Derniers messages
    • Tribu
#2746
  0
-Bolodefchoco said:
You mean removed or something that kills you when you touch that?

a dit :
Yes can the joint kill you when you touch it?
Overjoy06
« Citoyen »
1518514080000
    • Overjoy06#0000
    • Profil
    • Derniers messages
    • Tribu
#2747
  0
Is it possible to kill a player with meep (not pushing them to the void)
Is it possible to morpha a mice into a cat?

Also is there a script that when you type .!t Hey A message will popup and it will say [Overjoy06] Hey

Dernière modification le 1518514560000
Bolodefchoco
« Sénateur »
1518530580000
    • Bolodefchoco#0095
    • Profil
    • Derniers messages
    • Tribu
#2748
  0
Overjoy06 a dit :
-Bolodefchoco said:
You mean removed or something that kills you when you touch that?

a dit :
Yes can the joint kill you when you touch it?


The joint? Can, with detections.
https://atelier801.com/topic?f=6&t=858927


Overjoy06 a dit :
Is it possible to kill a player with meep (not pushing them to the void)
Is it possible to morpha a mice into a cat?

Also is there a script that when you type .!t Hey A message will popup and it will say [Overjoy06] Hey

You can just press space and kill the mice. No need to be specifically the meep because there's no sense "I don't want it to push (all the meep does is to push), just kill"

Morpha what? You can put an image that replaces the mouse sprites and that's it

Code Lua

1
2
3
4
5
eventChatCommand = function(n, c)
if c:sub(1, 1) == "t" then
ui.addPopup(0, 0, string.format("[%s] %s", n, c:sub(3)), nil, 5, 25)
end
end
Overjoy06
« Citoyen »
1518593100000
    • Overjoy06#0000
    • Profil
    • Derniers messages
    • Tribu
#2749
  0
i meant morph, sorry.
Overjoy06
« Citoyen »
1518595260000
    • Overjoy06#0000
    • Profil
    • Derniers messages
    • Tribu
#2750
  0
Is there a script does this :

When you have the score 50 (i mean at the scorelist) click a message and it will spawn a spawner looking like and it will spawn boxes.
Bolodefchoco
« Sénateur »
1518619380000
    • Bolodefchoco#0095
    • Profil
    • Derniers messages
    • Tribu
#2751
  0
Overjoy06 a dit :
i meant morph, sorry.

Oh I see, my bad lol

You can do that using loops, but basically the same system. Add an image, remove and add another..
Overjoy06
« Citoyen »
1518685680000
    • Overjoy06#0000
    • Profil
    • Derniers messages
    • Tribu
#2752
  0
Oh, thanks
Overjoy06
« Citoyen »
1518766440000
    • Overjoy06#0000
    • Profil
    • Derniers messages
    • Tribu
#2753
  0
A lua script that spawns a box on a specific location.

Dernière modification le 1518781200000
Bolodefchoco
« Sénateur »
1518790500000
    • Bolodefchoco#0095
    • Profil
    • Derniers messages
    • Tribu
#2754
  2
Overjoy06 a dit :
A lua script that spawns a box on a specific location.

eh.. Have you ever read the documentation?

Code Lua

1
2
3
X = 100
Y = 200
tfm.exec.addShamanObject(1, X, Y)
Overjoy06
« Citoyen »
1518946500000
    • Overjoy06#0000
    • Profil
    • Derniers messages
    • Tribu
#2755
  0
Bolodefchoco a dit :
Overjoy06 a dit :
A lua script that spawns a box on a specific location.

eh.. Have you ever read the documentation?

Code Lua

1
2
3
X = 100
Y = 200
tfm.exec.addShamanObject(1, X, Y)

But how to make it a loop?
Overjoy06
« Citoyen »
1518946680000
    • Overjoy06#0000
    • Profil
    • Derniers messages
    • Tribu
#2756
  0
Sorry of my bad grammar, im not a american...

What if you click on a message then you need like 100 scores and when you have 100 scores it will automatically spawns a box in a loop.But i need it to be gone in a certain amount of time.
Yionutz
« Citoyen »
1518951000000
    • Yionutz#0000
    • Profil
    • Derniers messages
    • Tribu
#2757
  0
Overjoy06 a dit :
Sorry of my bad grammar, im not a american...

What if you click on a message then you need like 100 scores and when you have 100 scores it will automatically spawns a box in a loop.But i need it to be gone in a certain amount of time.

I hope it will be useful.

Code Lua

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
map = 7387332
toDespawn = {}

function main()
tfm.exec.disableAutoShaman(true)
tfm.exec.disableAutoNewGame(true)
tfm.exec.disableAfkDeath(true)
tfm.exec.disableAutoTimeLeft(true)
tfm.exec.newGame(map)
end

eventNewPlayer = tfm.exec.respawnPlayer

function eventNewPlayer(name)
ui.addTextArea(123, "<a href='event:#'><p align='center'>Click me</p></a>", name, 738, 371, 56, 19, 0x131414, 0x000000, 0.9, true)
end

for name, player in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end


function eventTextAreaCallback(id, player, callback)
if id == 123 then
id=tfm.exec.addShamanObject(1, 400, 100)
table.insert(toDespawn,{os.time()+2000,id})
end
end

function eventLoop(time,remaining)
for i,box in ipairs (toDespawn) do
if box[1] <= os.time() then
tfm.exec.removeObject(box[2])
table.remove(toDespawn,i)
end
end
end

main()

Dernière modification le 1518951840000
Overjoy06
« Citoyen »
1518951600000
    • Overjoy06#0000
    • Profil
    • Derniers messages
    • Tribu
#2758
  0
Yionutz a dit :
Overjoy06 a dit :
Sorry of my bad grammar, im not a american...

What if you click on a message then you need like 100 scores and when you have 100 scores it will automatically spawns a box in a loop.But i need it to be gone in a certain amount of time.

I hope it will be useful.

Code Lua

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
map = 7387332
toDespawn = {}

function main()
tfm.exec.disableAutoShaman(true)
tfm.exec.disableAutoNewGame(true)
tfm.exec.disableAfkDeath(true)
tfm.exec.disableAutoTimeLeft(true)
tfm.exec.newGame(map)
end

eventNewPlayer = tfm.exec.respawnPlayer

function eventNewPlayer(name)
ui.addTextArea(123, "<a href='event:#'><p align='center'>Click me</p></a>", name, 738, 371, 56, 19, 0x131414, 0x000000, 0.9, true)
end

for name, player in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end


function eventTextAreaCallback(id, player, callback)
if id == 123 then
id=tfm.exec.addShamanObject(1, 400, 100)
table.insert(toDespawn,{os.time()+2000,id})
end
end

function eventLoop(time,remaining)
for i,box in ipairs (toDespawn) do
if box[1] <= os.time() then
tfm.exec.removeObject(box[2])
table.remove(toDespawn,i)
end
end
end

main()
.

Thanks :D
Overjoy06
« Citoyen »
1519024260000
    • Overjoy06#0000
    • Profil
    • Derniers messages
    • Tribu
#2759
  0
Now can it be a automatic spawner? no buttons needed (You need 100 score in the scorelist)

I just really suck at lua scipting and sentences
Koruto
« Citoyen »
1519278000000
    • Koruto#2851
    • Profil
    • Derniers messages
    • Tribu
#2760
  0
Umm can anyone tell how to use screen using lua.
Uno and Chess uses screen so i want to know that how to use screen commands.
can anyone tell me all the screen commands.?

and is it possible that i can get the script of uno?
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • Script Requests
« ‹ 138 / 160 › »
© Atelier801 2018

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

Version 1.27