- Joined
- Jun 7, 2008
- Messages
- 420
How do I prevent singleplayer in my map?
I have disabled resource trading by setting click and ctrl click trading increment in gameplay constants to 0, is this a good way of doing this?
The anti-singleplayer code I put in doesnt seem to work.
AntiSPdetect
Events
Time - Elapsed game time is 1.00 seconds
Conditions
(Number of players in (All players controlled by a User player)) Not equal to 1
Actions
Trigger - Turn off AntiSPEnforce <gen>
Game - Display to (All players) for 5.00 seconds the text: MultiPlayer mode, S...
AntiSPEnforce
Events
Time - Elapsed game time is 2.00 seconds
Conditions
Actions
Trigger - Turn off Save <gen>
Trigger - Turn off Load <gen>
Game - Display to (All players) for 5.00 seconds the text: SinglePlayer mode, ...
I have disabled resource trading by setting click and ctrl click trading increment in gameplay constants to 0, is this a good way of doing this?
The anti-singleplayer code I put in doesnt seem to work.
AntiSPdetect
Events
Time - Elapsed game time is 1.00 seconds
Conditions
(Number of players in (All players controlled by a User player)) Not equal to 1
Actions
Trigger - Turn off AntiSPEnforce <gen>
Game - Display to (All players) for 5.00 seconds the text: MultiPlayer mode, S...
AntiSPEnforce
Events
Time - Elapsed game time is 2.00 seconds
Conditions
Actions
Trigger - Turn off Save <gen>
Trigger - Turn off Load <gen>
Game - Display to (All players) for 5.00 seconds the text: SinglePlayer mode, ...
Attachments
Last edited: