Game Development Community

How to inject a global variable to the client player in c++?

by Corin · in Torque Game Engine · 03/16/2006 (4:43 am) · 2 replies


#1
03/16/2006 (4:43 am)
You didn't mention what you mean by "inject".
And you're saying client, in what sense? From the server, to the client? Or *on* the client?
#2
03/16/2006 (5:42 am)
Con::setBoolVariable("$example01", value);
Con::setVariable("$example02", value);

That's what you're looking for? Hope it helps.