tokens are little bits of information that can be
accessed through flow graph while running the game.
I´ll try to give a quick overview though: Game tokens
can be created, modified and deleted in the DataBase
view. For a start you should only need the flow graph
nodes Mission:SetGameToken and Mission:CheckGameToken.
Imagine the following scenario: Your mission is to
assassinate a specific enemy. When you get back to base
there is a reward for you, but only if you have
assassinated him. If you have a created a game token
called TargetAssassinated for example you can set it to
"true" in flow graph with the Mission:SetGameToken node
when that specific AI is dead. When you are back at base
you can check the game token with the
Mission:CheckGameToken node. If the value of the
TargetAssassinated game token is "true" that means that
the target was assassinated and the reward can be
triggered (the player could be given a weapon with the
Inventory:AddItem node for example). If the value of
the game token is "false" something else could happen;
maybe your superior tells you to come back when your
mission is done.
MissionSet and Check GameToken
Plug this into that over there...
- Sandhesten
- Posts: 16
- Joined: 21 Apr 2019 06:25
Jump to
- manifesto
- ↳ announcements
- Software Development Kit - Mod SDK
- ↳ 3rd Party Assets Creation
- ↳ XSI Help
- ↳ 3DS Max Help
- ↳ Other 3rd Party Programs
- ↳ Basic Mod Setup
- ↳ Scripting & Coding
- Sandbox2 Editor - CE2
- ↳ Fundamentals
- ↳ Environment
- ↳ Vegetation and Objects
- ↳ SFX
- ↳ sandbox2 cheat sheet
- ↳ what is the sandbox2?
- ↳ Advanced
- ↳ Singleplayer Levels
- ↳ Caves and Underground Installations
- ↳ Audio
- ↳ Final Preparation
- ↳ Animation and Cinematics
- ↳ Trackview Editor
- ↳ Character and Facial Editors
- ↳ Editors and Tools
- ↳ Flowgraph Editor
- ↳ Other Editors
- Showcase Gallery
- ↳ Assets
- ↳ Modifications
- ↳ Singleplayer
- ↳ Configs Tweaks Tools
- Crymod.org
- ↳ Crymod and CryWiki Announcements
- ↳ Request a Tutorial
- ↳ Tutorials
- ↳ Crytek Games
- ↳ FarCry
- ↳ Crysis
- ↳ Warhead
- ↳ Fan Art
- ↳ FarCry reloaded