NDDynamicSpawners

From Legends of Aria Admin and Modding Wiki
Revision as of 16:30, 7 December 2019 by Gizmo (talk | contribs) (Created page with "<p style="width:60%;margin: 0 auto">[Main] [Templates]</p> <p style="color: #DDDD88;font-size: 22px;width:60%;margin: 0 auto">Exa...")
(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>