NDControllerTemplates

From Legends of Aria Admin and Modding Wiki
Revision as of 02:26, 5 December 2019 by Gizmo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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>