Jump to content

CHRGD.Th3_Fr3d

Member
  • Content Count

    4
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About CHRGD.Th3_Fr3d

  • Rank
    Rookie
  1. Hey there I created some functions to be initialized via GUI. At the moment the gui is opened by some shortcut; but i would like to somehow also add a custom module to the zeus interface that opens my gui when placed (just like the weather module). So I searched around in the internet and found out that the ares mod supports custom modules but I don't really want ares to be required for my addon. My question is: How do you add custom modules to be available in the zeus interface? (I guess you somehow define them within the config.cpp?)
  2. CHRGD.Th3_Fr3d

    spawn function global

    Found the solution. I spawned the functions in the wrong order.
  3. CHRGD.Th3_Fr3d

    spawn function global

    Yeah they are public. What else should I use instead of fnc_mp?
  4. Hello there, I created some functions which i am trying to spawn with some additional parameters. Nothing special so far. [param1,param2] spawn MyFunction; works as intended and the function works perfectly fine. I am now trying to spawn this function globally so that its executed on each client. I tried something like: [[[param1,param2],MyFunction],"bis_fnc_spawn", true,true,false] call bis_fnc_mp; Problem is: the function seems to get spawned but for some reason all the global variables used in the function aren't working anymore. although they were defined a few lines above the game says "Error: undefined variable in expression: MyGlobalVariable" or something similar. So my questions are: -Is the way I spawned the function correct? -If so what else could have screwed up my global variables(all I changed was how I executed the funtion)? (If it matters I am using the functions within a mod to initialize some particle effects for all clients)
×