Apparently virtvars can only return one value. This deprecates the virtvars and adds function equivalents for getting weapon class swarm info and corkscrew info. Fixes a bug reported by Woolie Wool in Discord.
(I tested both getSwarmInfo() and getCorkscrewInfo() with Woolie Wool's script. Both work as expected and a regex search shows no other multiple-return virtvars in the codebase.)
Apparently virtvars can only return one value. This deprecates the virtvars and adds function equivalents for getting weapon class swarm info and corkscrew info. Fixes a bug reported by Woolie Wool in Discord.
(I tested both
getSwarmInfo()
andgetCorkscrewInfo()
with Woolie Wool's script. Both work as expected and a regex search shows no other multiple-return virtvars in the codebase.)