how do you activate a laser with mouse click?

About advanced scenes, and the Thyme scripting language used in Algodoo.

how do you activate a laser with mouse click?

Postby simey j dude » Mon May 03, 2010 7:23 pm

im trying to make a mouse controlled laser gun but i dont know how...
User avatar
simey j dude
 
Posts: 61
Joined: Sat Sep 05, 2009 3:11 am
Location: under your bed!

Re: how do you activate a laser with mouse click?

Postby KarateBrot » Mon May 03, 2010 8:40 pm

Spawn a laser with a script and add this to the spawn code

Code: Select all
activationButton := "mouse_left"
Image
User avatar
KarateBrot
 
Posts: 825
Joined: Mon Aug 31, 2009 7:32 pm
Location: Germany

Re: how do you activate a laser with mouse click?

Postby simey j dude » Tue May 04, 2010 4:01 pm

oh thanks! awesome!
User avatar
simey j dude
 
Posts: 61
Joined: Sat Sep 05, 2009 3:11 am
Location: under your bed!


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 8 guests