- Code: Select all • Expand view
SetLineSpecial(LineID, 0, 0, 0, 0, 0, 0);
2: ThrustThing WITH ThingID.
i.e., ClearlineSpecial(LineID); and ThrustThing(tid, angle, force);. Otherwise I can't specify which one I want to be cleared/thrusted.

Moderator: GZDoom Developers
SetLineSpecial(LineID, 0, 0, 0, 0, 0, 0);
ClearLineSpecial(14);
ClearLineSpecial(17);
ClearLineSpecial(19);
ClearLineSpecial(21);
ClearLineSpecial(28);
function void ClearLineSpecial(int lineid) {
SetLineSpecial(lineid, 0, 0, 0, 0, 0, 0);
}
Graf Zahl wrote:No, for compatibility with the existing code it's the last arg.
Costja wrote:ace, I think you always can write:
- Code: Select all • Expand view
function void ClearLineSpecial(int lineid) {
SetLineSpecial(lineid, 0, 0, 0, 0, 0, 0);
}
And IMHO you can include it into one of zcommon "headers".
Return to Closed Feature Suggestions
Users browsing this forum: No registered users and 1 guest