Classes

Concepts

loadComponent »

Libraries

Objects

save

Description

This method will be called when saving the game to a save file. Specifying the save method alone is not enough to make the game save whatever mod data you might need saving. For that, look into game.addLoadComponent

Arguments

Returns


Notice: Undefined offset: 1 in /var/www/vhosts/gamedevstudiogame.com/httpdocs/templates/method_view.phtml on line 24

1 Nothing

Example

function myModClass:save()
	return = {
		someDataOne = self.someVarOne,
		someDataTwo = self.someVarTwo
	}
end