The Powder Toy
Download
Forum
Browse
Wiki
FAQ
Play online
Register
Login
Discussions
/
The Powder Toy/Lua scripting
/
I can't understand.
«
1
»
I can't understand.
ArtMaster
29th Nov 2011
Banned
0
Permalink
This post is hidden because the user is banned
mniip
29th Nov 2011
Developer
0
Permalink
Why do you think it should work
and what you think it will make?
Pilihp64
29th Nov 2011
Developer
0
Permalink
tpt.selectedl is the menu item you have selected (DUST,PUMP, any other particle type).
It has nothing to do with particles on screen.
If you want to find the particle under the mouse, use the mouse location in the get_property,
tpt.get_property("tmp",tpt.mousex,tpt.mousey)
should work.
ArtMaster
29th Nov 2011
Banned
0
Permalink
This post is hidden because the user is banned
«
1
»