Scripting: Nade triggering Light

Post your scripting questions / solutions here

Moderator: Moderators

Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

theres what i was looking for! this is what i meant

Code: Select all

$thingy light 1 0.8 1 128
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

look at the code i posted,
$light light 1 0 0 700//1 0 0=white //0 0 1=blue...ect....
and off would be
$light light 0 0 0 5
Image
User avatar
HDL_CinC_Dragon
Brigadier General
Posts: 574
Joined: Mon Dec 22, 2003 8:32 pm

Post by HDL_CinC_Dragon »

Green Beret wrote: $light light 1 0 0 700//1 0 0=white //0 0 1=blue...ect....
i thought 1 1 1 was white... sry if this is spam
Image
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

yea...lol,u know what i meant :lol:
Image
User avatar
HDL_CinC_Dragon
Brigadier General
Posts: 574
Joined: Mon Dec 22, 2003 8:32 pm

Post by HDL_CinC_Dragon »

lol
Image
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

ok cheetos,here is a .pk3 with the .map file in it. its a cheaply done group of brush's to make a goal.throw the nade in the goal,the light will light up red and moves back and forth. 8-)

http://wolfbattalion.com/bored.pk3
Image
User avatar
Cheetohs
Brigadier General
Posts: 569
Joined: Sun Jan 04, 2004 6:01 am
Location: Minnesota
Contact:

Post by Cheetohs »

Thanx! I'll test it ASAP...greatly appreciated :)
.:c|H|EE|TO|H|s|:.
Image
Need a thorough map tester? Shine the Cheetohs signal!
Post Reply