exec – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
Line 15: Line 15:
http://forums.bistudio.com/showthread.php?t=87387
http://forums.bistudio.com/showthread.php?t=87387
If this is correct it really needs to be specified on the page...
If this is correct it really needs to be specified on the page...
== moved from comments ==
<h3 style="display:none">Notes</h3>
<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
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
<!-- Note Section END -->
</dl>

Revision as of 21:14, 12 February 2015

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

Notes

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