Blockland Forums > Modification Help

Function declaration failure

Pages: << < (2/3) > >>

Lugnut:

It's an engine function (?) which cannot be overwritten.
Neither can Eval(), error(), warn()

Port:


--- Quote from: Lugnut1206 on June 19, 2012, 01:23:22 AM ---It's an engine function (?) which cannot be overwritten.
Neither can Eval(), error(), warn()

--- End quote ---

Engine functions can't be "overwritten" because the engine sees the name and instantly uses the engine function instead of even trying to search the TorqueScript scope. They don't display an error when you try to define them. That only happens for some secured functions.

for example


--- Quote from: Club559 on April 01, 2009, 11:24:19 PM ---ERROR: function declaration failed: GameConnection::authCheck

--- End quote ---


Chrono:

It looks like it happened because you only put 1 : Mold.

Mold:


--- Quote from: Chrono on June 19, 2012, 04:42:24 PM ---It looks like it happened because you only put 1 : Mold.

--- End quote ---
What

Chrono:


--- Quote from: Port on June 19, 2012, 04:12:42 AM ---for example

--- Quote from: Club559 on April 01, 2009, 11:24:19 PM ---ERROR: function declaration failed: GameConnection::authCheck

--- End quote ---

--- End quote ---

--- Quote from: Mold on June 18, 2012, 06:23:37 PM ---What does
Function declaration failed (NULL):functionname()

--- End quote ---


Pages: << < (2/3) > >>

Go to full version