Forum Jump :

Author Message

Posts: 1

Level: Member

Country: us
In-game name:

#1 Posted at 2020-07-07 22:00        
As said I am having two problems that are boggling me (I have only been into the editor and scripting for three weeks now)
The mission I am making has several parts I've been grinding away at and many problems, right now though I am stuck on two things in the script below (the POWs init box below) the actual setcaptive part works its the radius in the addAction script and the setTaskState script(not working at all)

this disableAI "move"; this setcaptive true; this setunitpos "middle"; this addaction ["P.O.W. joins your team",{[pow2] join (_this select 1), nil, 1.5, true, true, "", "true", 2, false, "",
""; pow2 setcaptive false; pow2 setunitpos "auto"; pow2 enableAI "Move"; deleteMarker "marker1pilot"; search_pilot2_create setTaskState "Succeeded" }];

The radius is really confusing me because I have successfully used three addaction scripts already, the second one though I'm not as confused about as to why its not working, and the delete marker works too, I've spent at least four hours trying to figure this guy out and its driving me nuts so any help would be beyond appreciated.