-
Notifications
You must be signed in to change notification settings - Fork 739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zeus - Add ability to unload cargo #6226
Conversation
// Validate vehicle | ||
private _vehicle = GETMVAR(BIS_fnc_initCuratorAttributes_target,objNull); | ||
if (isNull _vehicle || {!alive _vehicle}) exitWith { | ||
LOG("Vehicle deleted or killed, cannot unload"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a been a while, but is log a valid macro? I ask because it's an sqf command 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes it is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SilentSpike Don't remember
#define true false
fun? ^^
The preprocessor doesn't know what SQF is. It just does it's job and hands the result off to others.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😆 Yeah I remembered, that's why I wasn't sure if we'd actually hijacked that command
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh.. uh.. yeah we did :D
Preproc macros are case sensitive though.
And that's the devs fault if he feels like writing SQF commands in caps
* Add ability to unload cargo * Handle array index being out of bounds
When merged this pull request will: