RunProc2()

Basic Understanding
RunProc2 is used to help execute attacks from the script such as beams, sword ,and missiles.

Setup of RunProc2 for All Attacks
RunProc2(Priority,Attack Type,Output Part,0,0,0,0,0,0,0,0,0)

below will go in detail about each value in the RunProc2 method.

Priority
this tells when a Attack would execute.

Attack Type
what type of attack is being executed.

here is a list of what values for each attack type are:

Output Part
this tells which part it comes from using the weapon point or output id value.