Modme Forums
Menu:

FX not spawning via scripting!

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


ModmeBot:

Thread By: Red Planet
I'm trying to spawn an fx like this:

fx = spawn("script_model", -802,-479,1021 );
				fx setModel("tag_origin");
				playFxOnTag("dlc0/factory/fx_laser_hotspot_factory",fx,"tag_origin");
				

But when the function gets called the fx doesnt spawn! Does anybody know what i could be doing wrong?

Yes, im prechacing the model and fx at the top of the script!



EDIT: Found the problem! Just needed to add () to the origin of the script model!