SCRMaps
/
Sign in

Wiring it into the map

Two pastes and two triggers.

2 min read

What you get is two blocks. The EPScript goes in EUD Editor 3's TE section and the key table in the Plugin section. Without the key table saving still works but nobody can type a code in to load.

  1. 1In ScmDraft, create the three counter unit names: one for save, one for load, one for key input.
  2. 2Paste the EPScript into TE and the key table into Plugin.
  3. 3Add a trigger that sets the save counter to 1 when the player stands on a save pad.
  4. 4Do the same for the load counter.
  5. 5Compile and actually save in game.
Trigger {
	players = {Force1},
	conditions = {
		Bring(CurrentPlayer, AtLeast, 1, "Men", "Save Pad");
	},
	actions = {
		SetDeaths(CurrentPlayer, SetTo, 1, "SaveTrigger");
		PreserveTrigger();
	},
}
Standing on the pad requests a save; the system resets the value to zero itself.
Sign in to track your progress