Kevin
Member
|
Cutom Object Params
Hi,
I have a very strange problem with object parameters. I'am trying to get the parameter like this:
Code:
//Trigger::create
EE::Game::Param* p = params.findParam("script");
But p is alway NULL, and if I debug, I can see that, params doesn't contain any elements...
Here is a screenshot of the World Editor Obj Settings:
Any suggestions how to fix this?
|
|
01-27-2010 02:08 PM |
|
Esenthel
Administrator
|
RE: Cutom Object Params
If you're using "EMBED INTO TERRAIN" then the object will not use custom classess but will be handled fully by the engine.
please check docs on game objects for more info,
you'll need to use CONST or DEFAULT access mode.
|
|
01-27-2010 05:09 PM |
|