Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
platforms.qh
Go to the documentation of this file.
1
#pragma once
2
3
4
const
int
PLAT_LOW_TRIGGER
=
BIT
(0);
5
6
.float
dmg
;
7
.float
dmgtime
;
8
.float
dmgtime2
;
9
10
.float
phase
;
11
12
void
plat_center_touch
(
entity
this
,
entity
toucher
);
13
void
plat_outside_touch
(
entity
this
,
entity
toucher
);
14
void
plat_trigger_use
(
entity
this
,
entity
actor,
entity
trigger);
15
void
plat_go_up
(
entity
this
);
16
void
plat_go_down
(
entity
this
);
17
void
plat_crush
(
entity
this
,
entity
blocker);
BIT
#define BIT(n)
Only ever assign into the first 24 bits in QC (so max is BIT(23)).
Definition
bits.qh:8
dmg
float dmg
Definition
breakable.qc:12
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
dmgtime
float dmgtime
Definition
platforms.qh:7
phase
float phase
Definition
platforms.qh:10
plat_go_up
void plat_go_up(entity this)
Definition
platforms.qc:83
plat_crush
void plat_crush(entity this, entity blocker)
Definition
platforms.qc:138
plat_outside_touch
void plat_outside_touch(entity this, entity toucher)
Definition
platforms.qc:111
plat_go_down
void plat_go_down(entity this)
Definition
platforms.qc:76
plat_trigger_use
void plat_trigger_use(entity this, entity actor, entity trigger)
Definition
platforms.qc:130
PLAT_LOW_TRIGGER
const int PLAT_LOW_TRIGGER
Definition
platforms.qh:4
dmgtime2
float dmgtime2
Definition
platforms.qh:8
plat_center_touch
void plat_center_touch(entity this, entity toucher)
Definition
platforms.qc:90
toucher
entity entity toucher
Definition
self.qh:72
common
mapobjects
platforms.qh
Generated on
for Xonotic QuakeC by
1.14.0