void SetMarineWeapon(int tid, int weapon);
Sets a Scripted Marine's weapon on the fly. Choices defined in zdefs.acs are as follows:
- MARINEWEAPON_Dummy (no weapon)
Note in the case of rocket marines they are not immune to splash damage, so you may want to knock up their health a bit with SetActorProperty since they will probably kill themselves pretty quickly otherwise.
// Switch the marine(s) with TID 10 to attack with a Chainsaw. SetMarineWeapon(10, MARINEWEAPON_Chainsaw);