02-03-2016, 07:50 PM
How i test my missions
==============
I find this helps me test my missions end to end very quickly to make sure all triggers and scripts behave as and when expected.
Create a file in your mission folder called "tele.sqf"
copy this small code to it
Then just in your player init field copy this
Now you can teleport to your trigger loctaions, kill targets and blow up things without being killed etc.. Can run through an entire mission within a couple of mins.
Its only a small amount of code, but for me, it saves me LOADS of time and allows heavy testing
DONT FORGET to remove the init code before you go live with your mission!
Hope this helps
==============
I find this helps me test my missions end to end very quickly to make sure all triggers and scripts behave as and when expected.
Create a file in your mission folder called "tele.sqf"
copy this small code to it
Code:
titleText["Select Map Position", "PLAIN"];
onMapSingleClick "vehicle player setPos _pos; onMapSingleClick '';true;";
Then just in your player init field copy this
Code:
this allowDamage false; this addAction ["Teleport","tele.sqf"];
Now you can teleport to your trigger loctaions, kill targets and blow up things without being killed etc.. Can run through an entire mission within a couple of mins.
Its only a small amount of code, but for me, it saves me LOADS of time and allows heavy testing
DONT FORGET to remove the init code before you go live with your mission!
Hope this helps