Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
roguetrooper

JIP-client players don't get tasks

Recommended Posts

I have two files related to briefing-stuff which both are executed within the init.sqs:

init.sqs:

execVM "briefing.sqf";
[] exec "tasks.sqf"; 

The briefing.sqf works fine for everyone.

tasks.sqf looks like this (excerpt):

task_radar = player createSimpleTask ["DestroyRadar"];
task_radar setSimpleTaskDescription ["description bla bla", "DESTROY RADAR", "DestroyRadar"];

Also a trigger with

condition: alive player
execution: [] exec "tasks.sqf" 

has no effect

The server player has a proper task tab in his log. But no matter at which point of time and where I execute tasks.sqf, a client player who joins in progress just has no task tab in his log.

Share this post


Link to post
Share on other sites

Here is a sample of briefing and tasks for JIP-players:

http://www.ofpec.com/forum/index.php?topic=35590.msg244551#new

To make sure briefing.sqf also works every time, you need to have this as first line:

waitUntil {!isNull player};

Edit: And you need to use execVM for sqf files (for that task.sqf)

Edited by SaOk

Share this post


Link to post
Share on other sites
Sign in to follow this  

×