Search found 6 matches

Search found 6 matches Page 1 of 1
by Torr
Mon Jul 03, 2017 9:07 am
Forum: C++
Topic: Meaning verification DefineEngineFunction & ConsoleFunction
Replies: 11
Views: 1432
I searched for the examples, on google and on git-hub, but I've not found nothing. Can you please give me the link to these?
by Torr
Sat Jul 01, 2017 7:35 pm
Forum: C++
Topic: Meaning verification DefineEngineFunction & ConsoleFunction
Replies: 11
Views: 1432
Thanks for this, since the doc is not so wide, expecially for c++ part, this thread is very important. Now I'm looking on how to instantiate a mesh, so I looked at player class. Do you have a link where is explained how to instantiate it? Or the only way is to check the current existent classes? Tha...
by Torr
Sat Jul 01, 2017 1:30 am
Forum: C++
Topic: Meaning verification DefineEngineFunction & ConsoleFunction
Replies: 11
Views: 1432
Thanks for this information, but if the ConsoleObject cannot be instantiated, why they put "Console" in the name? What stand this name SimObject? Since I can't find nothing about memory management or Garbage collector, This engine uses a memory system or it's demand to the programmer to manage it? I...
by Torr
Fri Jun 30, 2017 5:02 pm
Forum: C++
Topic: Meaning verification DefineEngineFunction & ConsoleFunction
Replies: 11
Views: 1432
I've created this class: class MyFirstClass : public ConsoleObject { public: typedef ConsoleObject Parent; public: String mName; public: DECLARE_CONOBJECT(MyFirstClass); MyFirstClass(); static void initPersistFields(); }; And I want init an object of it using c-script, so i written: %firstObject = n...
by Torr
Fri Jun 30, 2017 4:07 pm
Forum: C++
Topic: Meaning verification DefineEngineFunction & ConsoleFunction
Replies: 11
Views: 1432
Oh, Thanks you! I've understood the wrong thing by reading the code documentation.

So each function, object, class that is exposed to c-script is also available to console?
by Torr
Fri Jun 30, 2017 1:35 am
Forum: C++
Topic: Meaning verification DefineEngineFunction & ConsoleFunction
Replies: 11
Views: 1432
I'm new of Torque3D Looking the source to understand how to expose function to c-script I found these: DefineEngineFunction , ConsoleFunction Can you please confirm me if I've understood well? With DefineEngineFunction the function exposed can be called either on console and c-script but when the co...
Search found 6 matches Page 1 of 1