-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from nodrog1061/Dev
- Loading branch information
Showing
8 changed files
with
86 additions
and
33 deletions.
There are no files selected for viewing
Binary file removed
BIN
-556 Bytes
@Marshall_Ace3_Tandem_mod/addons/SM_tandem_jumping.pbo.TFM.bisign
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
@Marshall_Ace3_Tandem_mod/addons/SM_tandem_jumping/functions/fn_addonInit.sqf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
diag_log "Tandem Mod Loaded"; | ||
diag_log "By Armed Excellence Software"; | ||
player setVariable ["attached",false]; | ||
player setVariable ["tandem_freeFall",true]; |
2 changes: 1 addition & 1 deletion
2
@Marshall_Ace3_Tandem_mod/addons/SM_tandem_jumping/functions/fn_canAttach.sqf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
@Marshall_Ace3_Tandem_mod/addons/SM_tandem_jumping/functions/fn_canOrDoSelfDetach.sqf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* | ||
* Author: Scott Marshall | ||
* using a if statment script works as a juction box for scripts this is for the self intearct as the getVariable call wont work in in a config so replys false unless the mod has been initalised by the game | ||
* (handles statment and condition for uncliup self interact) | ||
* | ||
* Arguments: | ||
* state (bool) | ||
* | ||
* Return Value: | ||
* Alowed? (bool) | ||
* | ||
* | ||
* Public: Yes | ||
*/ | ||
|
||
_state = param[0]; | ||
|
||
|
||
scopeName "main"; | ||
//check if game is acc loaded | ||
if(!isNull player && time > 0)then{ | ||
// true == can? | ||
if(_state)then{ | ||
if([player getVariable "tandem_player",player getVariable "tandem_target"] call SM_tandem_jumping_fnc_canDetach)then{ | ||
true breakOut "main" | ||
}else{ | ||
false breakOut "main" | ||
}; | ||
}; | ||
//false == call the acc ground detach | ||
if(!(_state))then{ | ||
[player getVariable "tandem_player",player getVariable "tandem_target"] call SM_tandem_jumping_fnc_groundDetach; | ||
}; | ||
|
||
false breakOut "main" | ||
|
||
}else{ | ||
false breakOut "main" | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters