VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::BoneFollow Class Reference

Has one pawn copy another entity's bones while traces, bullets included, keep hitting it, and gives that pawn alone its collision back on detach, so a respawn is never written to. Keep one per player. More...

#include <BoneFollow.hpp>

Public Member Functions

void Attach (const Pawn &pawn, const Entity &parent)
void Detach (const Pawn &pawn)
 operator bool () const noexcept

Detailed Description

Has one pawn copy another entity's bones while traces, bullets included, keep hitting it, and gives that pawn alone its collision back on detach, so a respawn is never written to. Keep one per player.

Definition at line 17 of file BoneFollow.hpp.

Member Function Documentation

◆ Attach()

void VoltMod::BoneFollow::Attach ( const Pawn & pawn,
const Entity & parent )

◆ Detach()

void VoltMod::BoneFollow::Detach ( const Pawn & pawn)

◆ operator bool()

VoltMod::BoneFollow::operator bool ( ) const
inlineexplicitnoexcept

Whether a pawn is following.

Definition at line 28 of file BoneFollow.hpp.


The documentation for this class was generated from the following files: