You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"If the weapon has the corkscrew flag, the number of corkscrew missiles fired, the radius, the fire delay, counter rotate settings, the twist value. Returns nil if the handle is invalid.")
"Returns three values: a) whether the weapon has the swarm flag, b) the number of swarm missiles fired, c) the swarm wait. Returns nil if the handle is invalid.")
368
+
{
369
+
returnswarm_info_helper(L);
370
+
}
371
+
372
+
staticintcorkscrew_info_helper(lua_State* L)
362
373
{
363
374
int idx;
364
375
if (!ade_get_args(L, "o", l_Weaponclass.Get(&idx)))
"Returns five values: a) whether the weapon has the corkscrew flag, b) the number of corkscrew missiles fired, c) the radius, d) the fire delay, e) whether the weapon counter-rotations, f) the twist value. Returns nil if the handle is invalid.")
412
+
{
413
+
returncorkscrew_info_helper(L);
414
+
}
415
+
392
416
ADE_VIRTVAR(LifeMax, l_Weaponclass, "number", "Life of weapon in seconds", "number", "Life of weapon, or 0 if handle is invalid")
0 commit comments