Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → since you were so helpful last time...flashing mats
since you were so helpful last time...flashing mats
2001-06-14, 12:12 AM #1
since you were so helpful last time Im going to ask you another question, arent you lucky!
I found out how to make some flashing mats in my weapons ( a big step up for me in the world of cogs [http://forums.massassi.net/html/smile.gif] ), I put smthing like animmat(flashing, 1, 1);

cant remember exactly waht i was, anyhoo, I put this in the fire section, but everytime I fire the weapon it speeds up the matanim and generally screws it all up. Is there a way to say, if any, telling it to flash only once, like adding some flag to it, 0x1 or smthing.
all help would be appreciated
Code:
if(getThingFlags(source) & 0x8){
  do her}
elseif(getThingFlags(source) & 0x4){
  do other babe}
else{
  do a dude}
2001-06-14, 7:21 AM #2
Open seqcharge.cog (or class_seqcharge.cog). It's commented in there somewhere...
Hey, I'm here! But who cares?
2001-06-14, 11:16 AM #3
Are you sure?
Code:
if(getThingFlags(source) & 0x8){
  do her}
elseif(getThingFlags(source) & 0x4){
  do other babe}
else{
  do a dude}
2001-06-15, 1:00 PM #4
Just set a timer that will stop the flashing after it's flashed once.
2001-06-15, 2:08 PM #5
thats great siefer, but how would I do that?
Can you be a little more specific?
Code:
if(getThingFlags(source) & 0x8){
  do her}
elseif(getThingFlags(source) & 0x4){
  do other babe}
else{
  do a dude}

↑ Up to the top!