About Store Forum Documentation Contact



Post Reply 
Cutom Object Params
Author Message
Kevin Offline
Member

Post: #1
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:

[Image: error1.png]

Any suggestions how to fix this?
01-27-2010 02:08 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
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
Find all posts by this user Quote this message in a reply
Post Reply