lazily call gsc functions
-
i 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
-
-
-
yri5 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.
yri5 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
-
yri5 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
-
yri5 I wouldn’t know then in that case as I don’t have experience with modding the game on console.
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login