exec – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "")
 
(3 intermediate revisions by 3 users not shown)
Line 10: Line 10:
I am sorry. I was wrong.
I am sorry. I was wrong.
Could you delete it from OFPEC, please? --[[User:Faguss|Faguss]] 20:09, 7 February 2009 (CET)
Could you delete it from OFPEC, please? --[[User:Faguss|Faguss]] 20:09, 7 February 2009 (CET)
SQS only?
http://forums.bistudio.com/showthread.php?t=87387
If this is correct it really needs to be specified on the page...
== moved from comments ==
<dl class="command_description">
VBS2 VTK: To execute a script with no arguments that will run during the start of a mission, add this to the
initialization line of one of your objects:
[ ] exec "script_name.sqs"
I had some trouble getting this to work at first; the key is to have a space between the brackets.
IMPORTANT: not reccomended for use with .sqf scripts! line breaks will cause problems if you do - use execVM for those
</dl>

Latest revision as of 00:42, 6 April 2021

Argument Comment

"On client side, arguments are passed ONLY in game.--Faguss 21:20, 5 February 2009 (CET)"

I'm not quite sure what you mean by this. Could you elaborate this a bit? Thanks. --Kronzky 16:37, 6 February 2009 (CET)
I don't understand that as well. --raedor 18:39, 6 February 2009 (CET)
yup, same for me --T_D 18:44, 6 February 2009 (CET)
Same comment was put in the OFPEC entry for this command.
Planck 21:23, 6 February 2009 (CET)


I am sorry. I was wrong. Could you delete it from OFPEC, please? --Faguss 20:09, 7 February 2009 (CET)


SQS only? http://forums.bistudio.com/showthread.php?t=87387 If this is correct it really needs to be specified on the page...

moved from comments

VBS2 VTK: To execute a script with no arguments that will run during the start of a mission, add this to the initialization line of one of your objects: [ ] exec "script_name.sqs" I had some trouble getting this to work at first; the key is to have a space between the brackets. IMPORTANT: not reccomended for use with .sqf scripts! line breaks will cause problems if you do - use execVM for those