Jump to content
Sign in to follow this  
alleycat

How to use a variable in a briefing?

Recommended Posts

How to use a variable in a briefing? The syntax in briefing is HTML so I am not sure how that is supposed to work.

Share this post


Link to post
Share on other sites

Hey.

I called my briefing "briefing.sqf" and this is some of the code i've used.

waitUntil {!isNull player && isPlayer player};
player createDiaryRecord ["Diary", ["Mission", "TEXT"]];

Maybe you can use variables there.

Share this post


Link to post
Share on other sites

ok found it. Using format works:

player createDiaryRecord ["Diary", ["Intel", format ["Veriable: %1", _variable]]]

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  

×