exec – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3>" to "")
m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "")
 
Line 19: Line 19:


<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
VBS2 VTK: To execute a script with no arguments that will run during the start of a mission, add this to the
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:
initialization line of one of your objects:
Line 29: Line 28:


IMPORTANT: not reccomended for use with .sqf scripts! line breaks will cause problems if you do - use execVM for those
IMPORTANT: not reccomended for use with .sqf scripts! line breaks will cause problems if you do - use execVM for those
<!-- Note Section END -->
</dl>
</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