#Global Hooks $Simulation: [ missiontime = mn.getMissionTime() frametime = ba.getFrametime(true) if missiontime < 1 then --Define the graphics files flaktexture = gr.loadTexture("lglow3") nullvec = ba.createVector(0,0,0) end --Iterate through all the weapons for j=1,#mn.Weapons do weapon = mn.Weapons[j] --If weapon type is the one within "s then... weapontype = weapon.Class.Name if weapontype == "Flak Energy" then --Create particle effect where the weapon is ATM --You can always increase the 'frametime' to frametime x 4 etc if needed. ts.createParticle(nullvec,nullvec,frametime,2.0,PARTICLE_BITMAP,-1,false,flaktexture,weapon) end end ] #End