I am new to modeling and scripting and I was wondering how to spawn an emmiter like fire out of the top of my item when i pull it out of inventory? Thanks!
stateName[3<state number>] = "Activate<or some other name>";
stateEmitter[3] = <emitter datablock>;
stateEmitterTime[3] = <length of time emitted>;
stateEmitterNode[3] = "<what armature released from, recommended is muzzleNode>";
stateTimeoutValue[3] = <when it switches to the next state, not related to stateEmitterTime>;
This is just a part of an image sequence. The number in []s relates to which state is first, second, third, etc.