home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Classic Fond 52
/
ClassicFond52.iso
/
GAMES
/
DROIDW.RAR
/
DWCD.GOB
/
mission_cog_b0_strut.cog
< prev
next >
Wrap
Text File
|
1998-11-04
|
637b
|
46 lines
#
# Droids Cog Script
#
# b0_strut.cog
#
# Creates a beam between two objects.
#
# Desc:
# 12/22/97 [DGS] Created (Happy Birthday Mom!)
#
# --------------------------------------------------------------------------------
symbols
message startup
thing beam0a
thing beam0b
thing beam1a
thing beam1b
int l_color=0
float l_size=0.01
end
## Code Section
code
startup:
if (beam0a != 0) //Link One Beam
{
addbeam(beam0a,beam0b,147,l_size);
}
if (beam1a != 0) //Link Two Beam
{
addbeam(beam1a,beam1b,147,l_size);
}
return;
end