Grunt to Use a ShiTen

From CryWiki

Jump to: navigation, search


Flowgraph Walkthrough

After you've assigned the grunt to your AI:AIUseObject node and the ShiTen to the Entity:EntityID node, link up the nodes as pictured.

The EntityID node assigns the ID of the ShiTen to the ObjectID required for the UseObject node. This then means that on Start, the the grunt is told to use the object, and as the object has been assigned as the ShiTen, it will man it and stay there until close combat is engaged.


Flowgraph Image

Preview of Getting a grunt to use a ShiTen machine gun..
Preview of Getting a grunt to use a ShiTen machine gun..

   

About this Sample

Name

Getting a grunt to use a ShiTen machine gun.

Created by

McGinge

Compatible with Multiplayer

No

Description

The flowgraph scripts a grunt to man a ShiTen machine gun at the start of the map.


Download

Click here to download this sample's Graph XML file.

You may need to right-click on the link and select "Save As" from the menu.


» Discuss this sample...

» View other Flowgraph Samples

» Return to Crysis Modding Code Samples

Personal tools