Jump to content
Sign in to follow this  
SpitShine

bis_fnc_settask refuses to create task destination

Recommended Posts

http://pastebin.com/5GQkmqHu

I'm at an impassé, I'm using bis_fnc_settask to create tasks and it's working just fine for all my tasks EXCEPT this one.

Why the hell can't it set a task destination on this convoy?

Share this post


Link to post
Share on other sites

not sure if you need to include the other few parameters for the fnc, if that doesn't help try creating it manually with createTask and setSimpleTaskDestination

also perhaps try getPos on the truck

....and also can I suggest using -showscripterrors

Edited by Rocksteady

Share this post


Link to post
Share on other sites

Script errors are on, it's throwing no error.

Getpos isn't a valid statement, it must be an object or an array.

The exact same method of task creation works fine for other objects pre-placed in the editor.

Share this post


Link to post
Share on other sites

the getpos result is a position array, [1,1,1] would do fine instead just for testing.

Is it just the destination? Or is the task itself not creating?

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  

×