yri5
Posts
-
lazily call gsc functions -
lazily call gsc functionsyri5 there are more such as storing the function pointer into a global variable or replacing an existing map-exclusive script, but those aren’t really necessary considering the options I mentioned in the first reply.
well i am making this script for the xbox 360 as'well which has no getFunction or replaceFunc; i am avoiding replacing map specific stuff
-
lazily call gsc functions -
lazily call gsc functionsi am trying to call functions from other gsc files but they are for the dlcs and will not be loaded on other maps eg origins will have the one punch file but tranzit wont and i wanna be able to call the functions somehow without copy pasting the stuff from the other gsc files
some examples of stuff i use
// self thread maps\mp\zombies_zm_weap_one_inch_punch::one_inch_punch_melee_attack();
// self maps\mp\zombies_zm_weap_beacon::player_give_beacon();
// level thread maps\mp\zm_tomb_craftables::quadrotor_watcher(self);
// maps\mp\zm_tomb_craftables::onfullycrafted_quadrotor(self);note: i am new to this so please forgive me if this is a bad question