Register |  Forgot Password
Crytek GmbH Crysis Warhead FarCry Modding Portal Crymod | The Official Modding Portal MyCrysis | The Official Community Portal
To the NewsTo the ForumsTo the TutorialsTo the Mod DatabaseTo the SupportTo the DownloadsTo the Control Panel
FORUM OVERVIEW | NEW POSTS | MEMBERS LIST ADVANCED SEARCH | 
 

 Crytek's Official Modding Portal » Mod Development » Programming & Scripting
  Go to the bottom of this page [c++] GameToken & FlowNode -> SOLVED
  Thread Tools  Forum Tools  Search Tools 
05.03.2009 13:35
Blue
Beginner


[c++] GameToken & FlowNode -> SOLVED


Hi all, can someon explain me how i can implement the dialog box for choosing the GameTokens like in the Mission:GameToken, when i "klick" in the input propertys?
I won't insert the GameToken by Keyboard, so i've looked for a possibility to implement it as a enum list, but i can't find a way to read out the GameTokens or the Library/s in the level.
Hope someon of you can help me.


greetings, Blue

This post has been edited 1 time(s), it was last edited by Blue: 06.03.2009 10:10.

Blue is offline

05.03.2009 19:03
ins
TOWLTNWAC

images/avatars/avatar-9591.jpg



RE: [c++] GameToken & FlowNode


You should get a dialog if you use the correct prefix in the inputportname (in c++).

For example:
mission_PortName for Mission Objectives. (see HUDNodes.cpp)

I assume there is something similar for gametokens, perhaps it's gametoken_, gameToken_ or token_.

I don't know, but it should be something like that. If you find out which prefix it is, be sure to post it Smile

__________________

This post has been edited 3 time(s), it was last edited by ins: 05.03.2009 19:06.

ins is offline

06.03.2009 10:09
Blue
Beginner

Thread Starter Thread Started by Blue


RE: [c++] GameToken & FlowNode


quote:
Originally posted by ins
You should get a dialog if you use the correct prefix in the inputportname (in c++).

For example:
mission_PortName for Mission Objectives. (see HUDNodes.cpp)

I assume there is something similar for gametokens, perhaps it's gametoken_, gameToken_ or token_.

I don't know, but it should be something like that. If you find out which prefix it is, be sure to post it Smile


Hey thx man! Big Grin I have not known that there ist something like this prefixes. How you have found out this stuff? There is no deklaration or something like a comment about this in the code, or have i overlooked it Confused (in this code jungle you can do this easily).

----

Have found out it - the prefix is: gametoken_ Wink

Funny, my Portname first was "GameToken_1"... Roll Eyes

Many thanks ins!!!


greatings, Blue
Blue is offline


Jump to:
 Crytek's Official Modding Portal » Mod Development » Programming & Scripting
  Go to the top of this page [c++] GameToken & FlowNode -> SOLVED
 
© 2010 Crytek GmbH  imprint | legal
All rights reserved. All trademarks are property of their respective owners in the US and other countries.

Forum Software: Burning Board 2.3.6, Developed by WoltLab GmbH