Posted by Captain Ramen on December 09, 1998 at 13:25:30:
In Reply to: Re: Multi celled weapon mat, yes you can! posted by Tobbi Dala on December 09, 1998 at 10:27:50:
: : Really! hmm, cool
: yep, just use it like its described in weap_seqcharge_m.cog:
: symbols
: material flashing=seq0mtp3.mat local #your multicelled mat <---------
: code
: startup:
: // Setup delays and variables.
: mountWait = GetKeyLen(mountAnim);
: #this bit starts the animation <------------------
: // Start the material flashing.
: MaterialAnim( flashing, 4, 1 );
: Return;
Keep in mind that the material is globaly animated.. So if you wanna use the texture somewhere else like on a wall and you don't want it flashing there you'll have to make a weapon copy and a non weapon copy.