Hi all:
I am trying let AI firing missiles by using vehicles from Pook ARTY PACK via script. However, there some problems need help...
I placed a 9k720 iskander and named a1 and the target vehicle in range(Where I tried able to attack with artillery computer by hand testing) called t1
Then placed a trigger with content :
[a1,'PREP'] execVM '\pook_ARTY_c\scripts\SRBM.sqf';
[a1,'HE'] execVM '\pook_ARTY_c\scripts\SRBM.sqf';
which let 9k720 prepare for launch and choose HE warhead. Also I tried using waypoint but not working well, the warhead cannot be chosen.
After that placed the other trigger with content:
a1 doArtilleryFire [getPos t1,"pook_9k720_1Rnd_HE",1];
However, nothing happened . I tired the same script on other artillery vehicles not from pook ARTY and it`s work ...
I consider it might be the problem of wrong magazine classname ,so I tried pook_9k720_1rnd_Base, but also not work.
I have no idea about it could anyone help me check out where is the problem....many thanks.