Modme Forums

i need somebody to tell me how to make a script for mod

Game Modding | Call of Duty: Black Ops 3 | Scripting


ModmeBot:

Thread By: The Black Death

i'm actually dead right now, my head is throbbing. can't get this stupid pile of crap to work.

any1 know how i can get a script working for this mod - and make it pretty in-depth, because init it through another script isnt enough info for me


ModmeBot:

Reply By: mathfag

i'm gonna need a little more detail


ModmeBot:

Reply By: The Black Death

mathfag

i'm gonna need a little more detail

idk how to init the script


ModmeBot:

Reply By: ByPsicoYT
zm_nameofyourscript::nameofinitfunction;

Not sure if you have to add the #using on the top.


ModmeBot:

Reply By: The Black Death

ByPsicoYT
zm_nameofyourscript::nameofinitfunction; Not sure if you have to add the #using on the top.

kk thanks


ModmeBot:

Reply By: mathfag
1) if you want to init the function in the same script (file) then type

level thread function_name_here();


2) if you're init-ing a function in another script (file) then type this
name_of_script::name_of_function();

if you're going for option 2, you must add
#using script_directory;
to the top

also add the file to your zone file or the game will crash everytime