|
|
|
2 registered members (USER0328, 1 invisible),
6,582
guests, and 2
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: position my sprite in mouse click
[Re: kenced]
#413112
12/08/12 09:08
12/08/12 09:08
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
when using this:
on_mouse_left = a_function;
...a_function gets called everytime you click.
POTATO-MAN saves the day! - Random
|
|
|
Re: position my sprite in mouse click
[Re: kenced]
#413115
12/08/12 09:22
12/08/12 09:22
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
theres a vector called mouse_pos3d. That's prabably what you're looking for 
POTATO-MAN saves the day! - Random
|
|
|
Re: position my sprite in mouse click
[Re: kenced]
#413121
12/08/12 10:13
12/08/12 10:13
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
no problem. You'll probably need some vector-math to make it work like you want. ...so if there are any problems with this part feel free to ask for some more help 
POTATO-MAN saves the day! - Random
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|
|
|
|