loadFile: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(+ category) |
||
Line 42: | Line 42: | ||
[[Category:Scripting Commands OFP 1.96|LOADFILE]] | [[Category:Scripting Commands OFP 1.96|LOADFILE]] | ||
[[Category:Scripting Commands ArmA|LOADFILE]] | [[Category:Scripting Commands ArmA|LOADFILE]] | ||
[[Category:Command_Group:_System_Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 23:07, 6 May 2007
Description
- Description:
- Return content of given filename.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
loadFile "myFunction.sqf"
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
-
In Armed Assault, the 'loadfile' command must be preceded by the 'compile' command to work.
Ex OFP 1.96: _falarmEvent = loadfile ("syswarn\falarmEvent.sqf")
Ex ArmA 1.0: _falarmEvent = compile loadfile ("syswarn\falarmEvent.sqf")
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Resistance version 1.82
- Operation Flashpoint: Resistance: New Scripting Commands
- Operation Flashpoint: Resistance: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands OFP 1.96
- Scripting Commands ArmA
- Command Group: System Commands