NDControllerTemplates

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search

[Main] [Templates]

Example Controller ObjectTemplate

Below is a sample controller object template file.

<ObjectTemplate>
	<ClientId>2</ClientId>
	<Color>0xFF00FF00</Color>
	<Name>Time Controller</Name>
	<Tag>TimeController</Tag>
	<ObjectVariableComponent/>			
	<ScriptEngineComponent>
		<LuaModule Name="shard_time_controller">
			<Initializer>
				{
					DaylightDurationSecs = 45 * 60,
					NighttimeDurationSecs = 15 * 60,
				}
			</Initializer>
		</LuaModule>		
	</ScriptEngineComponent>
</ObjectTemplate>