Knight_Shield wrote...
I want to keep horses in outside areas.
I was reading and it says there is a module switch but I dont think Im doing it right.
Here is what I put in my onmoduleload but come up with an error.
#include "x3_inc_horse"
SetModuleSwitch(X3_MOUNTS_EXTERNAL_ONLY,TRUE);
I get this ERROR:VARIABLE DEFINED WITHOUT TYPE
First SetModuleSwitch is in x2_inc_switches not x3_inc_horses.
Second X3_MOUNTS_EXTERNAL_ONLY Is not a Constant. So you will need to place quotes around it.
#include "x3_inc_horse"
#include "x3_inc_switches"
SetModuleSwitch("X3_MOUNTS_EXTERNAL_ONLY",TRUE);