load custom danger.fsm for ai

rockeumel

Well-Known Member
Hi

could someone tell me, from where i have to load a custom.fsm?
i know i need to insert this code below in a config.cpp
Code:
class Man;
    class CAManBase : Man {
        //fsmDanger = "\z\addons\dayz_server\RHAI\functions\mission_danger.fsm";
        //fsmDanger = "\z\addons\dayz_server\RHAI\functions\dummy.fsm";
        fsmDanger = "\custom\dummy.fsm";
    };

but which one and in which folder should be the danger.fsm.
i would like to save the file in my ai script folder, in the dayz_server.pbo, but i don't know it is possible to load that file from there.

someone an idea?
thanks
 
i got it!
it's something like a bypass

the danger.fsm is placed in the Mission: "dayz_private_1.epoch.chernarus.pbo"

and the danger.fsm will be loaded from the config.cpp in the "@Dayz_Epoch\dayz_code.pbo"

Code:
class CfgVehicles {
    class Man;
    class CAManBase : Man {
        fsmDanger = "mpmissions\__cur_mp.chernarus\custom\danger.fsm";
    };
...
};

i got the missionroot path from this trick:
http://killzonekid.com/arma-scripting-tutorials-mission-root/
 
Back
Top