From CryWiki
Flowgraph Walkthrough
Time:Timer node ticks at a rate of 0.2 seconds triggering the Entity:EntitiesInRange node to keep checking. The Entity:EntitiesInRange node checks for the player against a second entity. It the player or the second entity comes withing a range of 0.5 (in this example) of each other then it triggers a Game:DamageActor node which in our example will kill the player.
Flowgraph Image
Preview of Kill Player Near Object.
|
|
|
About this Sample
Name
- Kill Player Near Object
Created by
- Fortran
Compatible with Multiplayer
- No
Description
- Kills or damages the player when he moves within a certain distance of an entity.
|
|
» Discuss this sample...
» View other Flowgraph Samples
» Return to Crysis Modding Code Samples