Laser on/off
7 posts • Page 1 of 1
Laser on/off
is there a way to turn a laser on or off when a certain variable = something. like {scene.my.hi=1} ? {laser on} : {laser off}}?
I won't be on the forums much for a while. But maybe once in a while.
-
HavingPhun - Posts: 178
- Joined: Sun Feb 06, 2011 10:42 pm
Re: Laser on/off
just turn the fadedist from 0 to something more than 0 (like 25)
like
laser : fadedist = {scene.my.fade}
option:
scene.my.var1 ? {scene.my.fade=0}:{scene.my.fade=25};
like
laser : fadedist = {scene.my.fade}
option:
scene.my.var1 ? {scene.my.fade=0}:{scene.my.fade=25};
yup yup
yuuuuuuup
yupyupyupyupyupyupyupyupyyyuuuup
hm... signatures...
yuuuuuuup
yupyupyupyupyupyupyupyupyyyuuuup
hm... signatures...
- hiltropper
- Posts: 85
- Joined: Mon Dec 20, 2010 12:02 pm
- Location: Germany
Re: Laser on/off
yup, as hiltropper said, just place an if script in the fade dist (in the script menu....)
For laser on use a value thats higher 0
For laser off, use a value of 0
For laser on use a value thats higher 0
For laser off, use a value of 0
When asking for help, READ THE STICKIES!
- electronicboy
- Posts: 1694
- Joined: Mon Aug 31, 2009 6:18 pm
Re: Laser on/off
Alpha only matters when you look at the actual laser itself. Zero alpha simply results in a random beam coming from an invisible source.
Thru scene.my, zero fadeDist is certainly the way to go, but if you are like me and don't like scene.my, your best bet is to put the laser on a box and change the color of the box. An opaque box will block the laser.
Thru scene.my, zero fadeDist is certainly the way to go, but if you are like me and don't like scene.my, your best bet is to put the laser on a box and change the color of the box. An opaque box will block the laser.
Matthias Wandel is epic, in my humble opinion.
I love my brain...
ARE YA HAPPY NOW?????
Thymechanic/Phundamentalist
Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.
ARE YA HAPPY NOW?????
Thymechanic/Phundamentalist
Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
-
Someone Else - Posts: 1147
- Joined: Sun Nov 21, 2010 10:53 pm
- Location: The Milky Way Galaxy
Re: Laser on/off
Oh wait, sorry, not alpha. Make the laser black. I was thinking of something else.
TheWinkits wrote:They both looks of cuking amazing
-
Chronos - [Most Active Member 2010]
- Posts: 4457
- Joined: Mon Aug 31, 2009 6:00 pm
- Location: Californania
7 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests