first off I am a complete idiot with cog. anyway I am using the one cog form the cog section that makes a ghost into a lightning bolt thingy and plays an ambient sound, and i was wondering if somebody could edit it to make it so that the ghost would stay where it is but rotate and spin on it's axisis, and if at all possible i need it before Spiral's cutoff date for the lab entries, August 26. well here is the cog...
------------------
~vegiemaster~
Code:
# Jedi Knight Cog Script
#
# Energyribbon.COG
#
# standard Lighting script with customizable sound, pulserate and template (not recommended
# changing template), lighting goes in the direction of thing (supports 1 thing).
#
# (c) 2000 Sven Solo
#
# Originaly created for one of my levels
symbols
message startup
message pulse
thing ghost0
flex pulserate=0.25
int dummy local
template ribbon=+force_lightning
sound energy=forcepersuas02.wav
end
# ========================================================================================
code
startup:
SetPulse(pulserate);
return;
Pulse:
dummy=CreateThing(ribbon, ghost0);
dummy=PlaySoundThing(energy, ghost0, 0.5, -1, -1, 0);
# ........................................................................................
end
------------------
~vegiemaster~
Naked Feet are Happy Feet
:omgkroko:
:omgkroko:
). Just wanted to try to spice up the cog a little ![http://forums.massassi.net/html/wink.gif [http://forums.massassi.net/html/wink.gif]](http://forums.massassi.net/html/wink.gif)
the new feature is a good idea thatnks again