Quote:
Originally Posted by ffcmike
Is this update supposed to be removing the need to manually update gmaps whenever a gmap level is uploaded?
This seems to be the case and if true.
|
So it seems pretty definite that this is the case, and while this is a decent update I've noticed some strange behaviour regarding clientside scripts joined to gmap npcs.
Sometimes normal functions which are part of a joined sub-class, called onCreated or on the first onPlayerEnters will return the "not found" error in f2/scripts, and this starts working again when the gmap is updated by the old manual way.
For instance...
NPC script:
PHP Code:
this.join("class1");
//#CLIENTSIDE
function onCreated(){
this.test();
}
class1 script:
PHP Code:
this.join("class2");
//#CLIENTSIDE
function test(){
if(this.someCheck()){
this.doSomething();
}
}
class2 script:
PHP Code:
//#CLIENTSIDE
function someCheck(){
return somecondition;
}
Would result in:
"someCheck not found in script of <some gmap npc>".