Jump to content

Actorsqu

From EDukeWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This is initialized to -1. It's the actor squished... the actor that you are stepping on when they are shrunk.
When knee_incs is > 0 then the player is made to face the squishee. The actor is actually killed when knee_incs reaches >15.
In multiplayer, you auto-squish other players who are shrunk. This is done by setting:
knee_incs = 1;
weapon_pos = -1;
actorsqu = ps[otherp].i;
This is also set by the CON command pstomp.