Ok simple thing, i want the map to disable save/load system if u load up on single player, and i have code for that already.
Singleplayer = Disabled
Solo but via Online Lobby or LAN Lobby = Enabled
And as u can see this code requires more than one player in the game, but want it not to, but not work in single player.
EDIT: i searched and found this, however again it disabling in a online lobby still
-
AntiSP
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
-------- Player Check --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player 1 (Red) controller) Equal to User
-
(Player 1 (Red) slot status) Equal to Is playing
-
-
Then - Actions
-
Set VariableSet AntiSP = (AntiSP + 1)
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player 2 (Blue) controller) Equal to User
-
(Player 2 (Blue) slot status) Equal to Is playing
-
-
Then - Actions
-
Set VariableSet AntiSP = (AntiSP + 1)
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player 3 (Teal) controller) Equal to User
-
(Player 3 (Teal) slot status) Equal to Is playing
-
-
Then - Actions
-
Set VariableSet AntiSP = (AntiSP + 1)
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player 4 (Purple) controller) Equal to User
-
(Player 4 (Purple) slot status) Equal to Is playing
-
-
Then - Actions
-
Set VariableSet AntiSP = (AntiSP + 1)
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player 5 (Yellow) controller) Equal to User
-
(Player 5 (Yellow) slot status) Equal to Is playing
-
-
Then - Actions
-
Set VariableSet AntiSP = (AntiSP + 1)
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player 6 (Orange) controller) Equal to User
-
(Player 6 (Orange) slot status) Equal to Is playing
-
-
Then - Actions
-
Set VariableSet AntiSP = (AntiSP + 1)
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player 7 (Green) controller) Equal to User
-
(Player 7 (Green) slot status) Equal to Is playing
-
-
Then - Actions
-
Set VariableSet AntiSP = (AntiSP + 1)
-
-
Else - Actions
-
-
-------- Anti SP Check --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
AntiSP Less than or equal to 1
-
-
Then - Actions
-
Trigger - Turn off AutoSave <gen>
-
Trigger - Turn off AutoLoad <gen>
-
Trigger - Turn off DeathRunCheck <gen>
-
Trigger - Turn off DeathCalculate <gen>
-
Trigger - Turn off TimerExpiresCalculate <gen>
-
Trigger - Turn off CheckScore <gen>
-
Trigger - Turn off Calculate <gen>
-
Trigger - Turn off CalKills <gen>
-
Trigger - Turn off KillDino <gen>
-
Trigger - Turn off LoadRewards <gen>
-
Game - Display to (All players) the text: [|cffff0000U|rD|cff...
-
-
Else - Actions
-
-
-
Singleplayer = Disabled
Solo but via Online Lobby or LAN Lobby = Enabled
And as u can see this code requires more than one player in the game, but want it not to, but not work in single player.
EDIT: i searched and found this, however again it disabling in a online lobby still
-
AntiSPC
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Custom script: if bj_isSinglePlayer then
-
Trigger - Turn off AutoSave <gen>
-
Trigger - Turn off AutoLoad <gen>
-
Trigger - Turn off DeathRunCheck <gen>
-
Trigger - Turn off DeathCalculate <gen>
-
Trigger - Turn off TimerExpiresCalculate <gen>
-
Trigger - Turn off CheckScore <gen>
-
Trigger - Turn off Calculate <gen>
-
Trigger - Turn off CalKills <gen>
-
Trigger - Turn off KillDino <gen>
-
Trigger - Turn off LoadRewards <gen>
-
Game - Display to (All players) the text: [|cffff0000U|rD|cff...
-
Custom script: endif
-
-
Last edited: