Skip to content
  • 0 Unread 0
  • Recent
  • Popular
  • Users
  • Donate
Collapse
Home Docs Stats Discord Donate
Download
yri5

yri5

@yri5
Unfollow Follow
About
Posts
4
Topics
1
Shares
0
Groups
0
Followers
1
Following
2

Posts

Recent Best Controversial

  • lazily call gsc functions
    yri5 yri5
    BO2 Modding Support & Discussion

    Hadi77KSA said:

    yri5 I wouldn’t know then in that case as I don’t have experience with modding the game on console.

    what do you mean by "storing the function pointer into a global variable"


  • lazily call gsc functions
    yri5 yri5
    BO2 Modding Support & Discussion

    Hadi77KSA said:

    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


  • lazily call gsc functions
    yri5 yri5
    BO2 Modding Support & Discussion

    Hadi77KSA said:

    You can utilise map-specific folders, for example: scripts\zm\zm_tomb. This is mentioned ...

    Alternatively, you can utilise Plutonium’s added function named: getFunction. This is documented ...

    got it, im going to assume this is the only 2 ways to do it?


  • lazily call gsc functions
    yri5 yri5
    BO2 Modding Support & Discussion

    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

  • 1 / 1
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Unread 0
  • Recent
  • Popular
  • Users
  • Donate