Game Development Community


#1
10/31/2006 (7:26 am)
.
#2
11/10/2006 (2:58 am)
.
#3
11/12/2006 (1:00 pm)
.
#4
11/14/2006 (6:08 pm)
Well, personally I've found that people don't reply because:
A) They don't know what you're talking about...
B) They have no solution for your problem...
C) They think you're a noob and should figure it out on your own. =)

With this, I'm pretty much falling under A... I'm not really sure what you're trying to do.

But, if you're just trying to access script variables from C++ code, then yes, use Con::GetVariable(). Or use getLocalVariable(), getBoolVariable(), getIntVariable(), or getFloatVariable(). Search the code -- there is a plethora of example usages; there are many classes that use some form or another of GetVariable().
#5
11/15/2006 (1:35 am)
.