Jump to content
Sign in to follow this  
blinger

should i be calling an .SQF file in the init box?

Recommended Posts

performance wise, is it better to put say

_Handle = this execVM "opfor_gear.sqf";

in the init box of an ammo crate or should i list everything out in the init line like

this addweaponcargo ["arifle_MXM_F", 20];

this addweaponcargo ["srifle_EBR_F", 20];

this addweaponcargo ["LMG_Mk200_F", 20];

this addweaponcargo ["hgun_P07_F", 20];

this addweaponcargo ["arifle_Khaybar_F", 20];

this addweaponcargo ["arifle_Khaybar_C_F", 20];

this addweaponcargo ["arifle_Khaybar_GL_F", 20];

this addweaponcargo ["hgun_rook40_F", 20]

Looking for any and all FPS optimization tips for mission building

thanks

Share this post


Link to post
Share on other sites

Probably wouldn't make a difference since it is only run once at the beginning. I prefer to use an sqf for simplicity as to not clog up the init.

Share this post


Link to post
Share on other sites

yeah it shouldn't make a difference. you're running the same code at the same time just from different places.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×