Jump to content
Sign in to follow this  
stayfrosty24

Help needed with updating Task marker by script

Recommended Posts

Hello guys,

I'm trying to create a task where the player must enter a vehicle. The only problem is to update the task marker position.

I want to do this by script and not in the editor. See the code below, i think there is a simple solution for this problem someting like a while loop but i can't seem to figure this one out!

Any help would be much appreciated.

I have a MRAP called B_MRAP_1 and it's driving to a location where the player must get in.

But when i call the task the marker is placed on the location where the MRAP is driving on that time and it does not update.

missionTasks.sqf

case "task1" :
{
if (_taskState == "") then
{
	[
		player,
		_taskID,
		[
			"Get in the MRAP",
			"Get in",
			"GET IN"
		],
			[color="#FF0000"][b]getPos B_MRAP_1[/b][/color],
			true
	] call BIS_fnc_taskCreate;
};
};

Kind regards,

StayFrosty24

EDIT:

Sorry wrong forum this is for ARMA3 close this thread

Edited by StayFrosty24

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×