loadFile filename
Operand types:
filename: String
Compatibility:
Version 1.82 required.
Type of returned value:
String
Description:
Return content of given file.
Example:
loadFile "myFunction.sqf" , result is "if a>b then {a} else {b}"
--------------------------------------------------------------------------------
Yes....What's your point?![]()
I'd have thought it was obvious.![]()
-Shabadu-
OFP tactics as used by Homer and Shabadu
First of all you gotta cry like a girl and when he turns away in disgust that's when it's time to kick some back and when he's down on the floor step on his neck and run like hell!
Nope...I don't get it.
He may be happy at the fact that there is a loadfile command, but just pasting what it says in the comref ain't much of an indication.![]()
PEACE
I don't understand either, good work on the command ref BIS.
RED
I think its to execute a sqf (2GL Flashpoint script) and fetch the variables into local sqs variables. In the example they just check witch of _a and _b ist the greater and fetch thisone. (excuse my englishI speak swissgerman
I didn't mean I don't understand the script, I mean i didn't understand why he pasted it into this thread
RED
Question:
</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">friendly
Compatibility:
Version 1.78 required.
Type of returned value:
Side
Description:
Friendly side (friendly to all units).
[/QUOTE]<span id='postcolor'>
also enemy....
what is this?I don't know, I don't understand how friendly and enemy is used. Also, for event handler, anyone here know a really good way of checking if a vehicle has been destroyed by using eventHandler? I have some stuff going but it's not 100% reliable.
Thanks in advance
"Peace can not be kept by force. It can only be achieved by understanding." Albert Einstein
Please report Arma 3 bugs in the Bug Tracker
I'm guessing it's just checking the rating of a unit. You know, when a units rating goes below 0 he's a rebel.
Either that, or you could use it to check if one unit is friendly towards the other:
</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">Sovman friendly Westman[/QUOTE]<span id='postcolor'>
Dunno about that though, can't check cause i haven't D/L 1.87.
PEACE