13 int myflags = o.spawnflags;
19 p = e.origin + timestep * e.velocity;
21 v = v + (p * o.targetnormal) * o.targetnormal * o.targetfactor;
23 v = v + (p - (p * o.targetnormal) * o.targetnormal) * o.targetfactor;
29 p = e.origin + timestep * e.velocity;
31 v = v + (p * o.target2normal) * o.target2normal * o.target2factor;
33 v = v + (p - (p * o.target2normal) * o.target2normal) * o.target2factor;
39 p = e.origin + timestep * e.velocity;
41 v = v + (p * o.target3normal) * o.target3normal * o.target3factor;
43 v = v + (p - (p * o.target3normal) * o.target3normal) * o.target3factor;
49 p = e.origin + timestep * e.velocity;
51 v = v + (p * o.target4normal) * o.target4normal * o.target4factor;
53 v = v + (p - (p * o.target4normal) * o.target4normal) * o.target4factor;
65 this.
owner.velocity =
'0 0 0';
69 if(this.
owner.classname ==
"func_vectormamamam")
88 objerror(
this,
"No reference entity found, so there is nothing to move. Aborting.");
93 controller.owner =
this;
94 controller.nextthink =
time + 1;
134 if (this.
noise !=
"")
165 this.
message =
" was squished";
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
const int INITPRIO_FINDTARGET
ERASEABLE entity IL_PUSH(IntrusiveList this, entity it)
Push to tail.
#define new_pure(class)
purely logical entities (not linked to the area grid)
IntrusiveList g_initforplayer
const int CH_TRIGGER_SINGLE
#define _sound(e, c, s, v, a)
void stopsound(entity e, int chan)
void soundto(int _dest, entity e, int chan, string samp, float vol, float _atten, float _pitch)
bool InitMovingBrushTrigger(entity this)
void SUB_NullThink(entity this)
#define IS_REAL_CLIENT(v)
void func_vectormamamam_init_for_player(entity this, entity player)
void func_vectormamamam_findtarget(entity this)
vector func_vectormamamam_origin(entity o, float timestep)
void func_vectormamamam_controller_think(entity this)
void func_vectormamamam_setactive(entity this, int astate)
const int PROJECT_ON_TARGETNORMAL
const int PROJECT_ON_TARGET2NORMAL
const float VECTORMAMAMAM_TIMESTEP
const int PROJECT_ON_TARGET3NORMAL
const int PROJECT_ON_TARGET4NORMAL
void InitializeEntity(entity e, void(entity this) func, int order)