MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / UpdateTractorBeam

Method UpdateTractorBeam

scripts/AIGame3.cpp:4883–4887  ·  view source on GitHub ↗

Creates the beam between me and the target

Source from the content-addressed store, hash-verified

4881
4882// Creates the beam between me and the target
4883void Lifter::UpdateTractorBeam(int me) {
4884 float next_duration = LIFTER_PULL_VALIDATE_INTERVAL;
4885 aLightningCreate(memory->pull_source_prop, memory->pull_target_prop, next_duration, 1.0f, 4, tractor_beam_effect_id,
4886 next_duration, 1, 255, 255, 255, false);
4887}
4888
4889// All the controls that will be taken away while being force pulled
4890#define PLAYER_CONTROL_MASK \

Callers

nothing calls this directly

Calls 1

aLightningCreateFunction · 0.85

Tested by

no test coverage detected