ZoneEvents
6 KB, 14 years ago, submitted by
Dynamic Creation Of Physical Zones Around Bricks.
OUTPUT EVENTS:
- setZone: Creates or destroyes a Zone - Direction, Thinkness, Force Vector(X Y Z)
setZoneGravity: set an already created zone's gravity(...-2, -1, 0, 0.5, 1, 1.5....)
setZoneDrag: set an already created zone's Drag(1, 2....)
setZoneVelocityMod: set an already created zone's Velocity Multiplier.
setZoneIsWater: Changes whether a zone acts like water or not.
setZoneWaterDensity: Sets the water density.
setZoneWaterViscosity: Sets the water viscosity.
- OnPlayerEnterZone: When a player enters through the zone.
OnBotEnterZone: When a bot enters through the zone.
OnVehicleEnterZone: When a Vehicle enters through the zone.
OnPlayerLeaveZone: When a player exits out of the zone.
OnBotLeaveZone: When a bot exits out of the zone.
OnVehicleLeaveZone: When a vehicle exits out of the zone.
OnInZone: When any object is in the zone.
Zero Gravity Areas, Boosters, Suction Cups, Blowers, Elevators, Ice, Mud, Portal Triggers, RacingCheckpoints... Are All examples of what you can do with this Mod.
FOR A GOOD START, SET UP AN EVENT LIKE THIS:
ONACTIVATE -> Self -> setZone -> (UP)(20){0}{0}{4000}
(This makes a high velocity air vent or booster)
If You set the direction to center, the Thickness parameter acts like a cube radius, set it to 0 for common purposes.
It could be really useful for spaceship shields etc.. Ty if you do!
------------------------------------
OnProjectileEnterZone
OnProjectileLeaveZone
------------------------------------
OnEnemyProjectileEnterZone
OnEnemyProjectileEnterZone
------------------------------------
Have fun with these ideas.
You idiot. Zonebrickss are made by the same person, and its just if you dont know how to event them.
LANDMINES!!!
Keep it up!
Events:
onInZone->Player->vce_ifVariable armor >= 1
onVariableTrue->Player->AddHealth -1
onVariableFalse->Player->AddHealth -10
However, this hurts me/the owner, not the player who's in the zone. Any way to fix that?
For that use On Projectile Enter Zone
Nope, the ball isn't a projectile.
Then use OnVehicleEnterZone
The ball's are spawnable like projectile.
That way you can just play with balls all the time..
Balls balls balls
is it not Safe O_O