Energy drain latched

From CryWiki

Jump to: navigation, search


Flowgraph Walkthrough

Using the Nanosuit module we're getting the current energy level from the Energy output, into the Interpol "Start". Upon a trigger, or keypress in this example, the energy will drain at a rate defined by the "Time" setting in the Interpol. We use the Math:Less to "Stop" and reset the Interpol once the energy has ran out.


Flowgraph Image

Preview of Energy drain latched.
Preview of Energy drain latched.

   

About this Sample

Name

Energy drain latched

Created by

p5ymon

Compatible with Multiplayer

No

Description

Drains the energy from one trigger until it runs out.




» Discuss this sample...

» View other Flowgraph Samples

» Return to Crysis Modding Code Samples

Personal tools