Technical > Editing & Coding

Eden triggers.

(1/1)

Victor_cross:
Hi guys I'm trying to create triggers in eden to spawn ai using the ai spawnpack.
Problem is it runs locally but will not run on a server.
 
 if (side player == west) then {
nul = [beratna,2,100,[true,false],[true,false,false],false,[5,5],0.005,[0.2,0.2,0.2,0.85,0.9,0.75,0.1,0.6,1,1],nil,nil,13] execVM "addons\LV\militarize.sqf";
}; if (side player == east) then {
nul = [beratna,1,100,[true,false],[true,false,false],false,[5,5],0.005,[0.2,0.2,0.2,0.85,0.9,0.75,0.1,0.6,1,1],nil,nil,13] execVM "addons\LV\militarize.sqf";
};if (side player == independent) then {
nul = [beratna,2,100,[true,false],[true,false,false],false,[5,5],0.005,[0.2,0.2,0.2,0.85,0.9,0.75,0.1,0.6,1,1],nil,nil,13] execVM "addons\LV\militarize.sqf";
};
This is what is in the on activation window of the trigger.

LeonZ:
Maybe you need run it via script, wasteland somehow not friendly with eden editor

Navigation

[0] Message Index

Go to full version