Mortar Strike Faked

From CryWiki

Jump to: navigation, search


Flowgraph Walkthrough

The Time:Timer node ticks in one second intervals and generates a random number between 1 and 100 using the Math:Random node. The output of this node is then used in the Vec3:ToVec3 node to convert the random number data into vector data. This vec data is passed to the positional input of the particle effect using a Entity:EntityPos node. Also every time the Math:Random node generates a random number it hits the spawn input of the entity:ParticleEffect making the particle effect play.


Flowgraph Image

Preview of Fake Random Mortar Strike.
Preview of Fake Random Mortar Strike.

   

About this Sample

Name

Fake Random Mortar Strike

Created by

Fortran

Compatible with Multiplayer

No

Description

Fakes the effect of a random mortar strike by moving a particle effect randomly around the map.




» Discuss this sample...

» View other Flowgraph Samples

» Return to Crysis Modding Code Samples

Personal tools