{
EXACTTRIGGER_TOUCH;
- if(!other.trigger_gravity_active)
+ if not(self.spawnflags & 1)
{
- other.trigger_gravity_active = 1;
- other.trigger_gravity_check = spawn();
- other.trigger_gravity_check.owner = other;
- other.trigger_gravity_check.think = trigger_gravity_check_think;
- other.trigger_gravity_check.nextthink = time;
+ if(!other.trigger_gravity_active)
+ {
+ other.trigger_gravity_active = 1;
+ other.trigger_gravity_check = spawn();
+ other.trigger_gravity_check.owner = other;
+ other.trigger_gravity_check.think = trigger_gravity_check_think;
+ other.trigger_gravity_check.nextthink = time;
+ }
+ other.trigger_gravity_check.cnt = 2;
}
- other.trigger_gravity_check.cnt = 2;
if (other.gravity != self.gravity)
{
target: must point to a target_position
*/
-/*QUAKED trigger_gravity (.5 .5 1) ?
+/*QUAKED trigger_gravity (.5 .5 1) ? STICKY
An area where gravity differs from the rest of the map.
This acts as a modifier over the normal gravity (sv_gravity). eg: 0.5 is half the normal gravity, 2 is twice the normal gravity.
-------- KEYS --------
gravity: gravity offset in this area
noise: sound to play when an entity enters the gravity zone, leave empty to disable
+-------- SPAWNFLAGS --------
+STICKY: entities keep their gravity after leaving the gravity zone
*/
\ No newline at end of file