Full Version : TOD and peroid respawn.
xmlspawner >>Q&A >>TOD and peroid respawn.


<< Prev | Next >>

Galfaroth- 02-15-2006
Hello all. I want to spawn my spawner at 20.00 RealTime (and mobs shouldn't be removed since 24.00) and to make this spawn runs every 3 days.
Monday, 20:00: Spawn starts; 24:00 all mobs are deleted; then 4 days later -
Friday, 20:00 etc.

ArteGordon- 02-19-2006
you would use one spawner that was set to spawn your creatures with the TODStart and TODEnd set to whatever times you wanted.
That would spawn them at that time every day.

To only have the spawner run once every 4 days, you would need a second spawner that would turn the first one on and off.
Something like this

QUOTE

<Spawns>
  <Points>
    <Name>DaySpawner#1</Name>
    <UniqueId>ba04cf95-bd22-4481-8d0a-0e6e937c7550</UniqueId>
    <Map>Felucca</Map>
    <X>5445</X>
    <Y>1151</Y>
    <Width>10</Width>
    <Height>10</Height>
    <CentreX>5450</CentreX>
    <CentreY>1156</CentreY>
    <CentreZ>0</CentreZ>
    <Range>5</Range>
    <MaxCount>3</MaxCount>
    <MinDelay>5</MinDelay>
    <MaxDelay>10</MaxDelay>
    <DelayInSec>False</DelayInSec>
    <Duration>0</Duration>
    <DespawnTime>0</DespawnTime>
    <ProximityRange>-1</ProximityRange>
    <ProximityTriggerSound>500</ProximityTriggerSound>
    <TriggerProbability>1</TriggerProbability>
    <InContainer>False</InContainer>
    <MinRefractory>0</MinRefractory>
    <MaxRefractory>0</MaxRefractory>
    <TODStart>120</TODStart>
    <TODEnd>480</TODEnd>
    <TODMode>0</TODMode>
    <KillReset>1</KillReset>
    <ExternalTriggering>False</ExternalTriggering>
    <SequentialSpawning>-1</SequentialSpawning>
    <AllowGhostTriggering>False</AllowGhostTriggering>
    <SpawnOnTrigger>False</SpawnOnTrigger>
    <SmartSpawning>False</SmartSpawning>
    <Team>0</Team>
    <Amount>1</Amount>
    <IsGroup>False</IsGroup>
    <IsRunning>False</IsRunning>
    <IsHomeRangeRelative>True</IsHomeRangeRelative>
    <Objects2>troll:MX=3:SB=0:RT=0:TO=0:KL=0:RK=0:CA=1:DN=-1:DX=-1:SP=1:PR=-1</Objects2>
  </Points>
  <Points>
    <Name>DaySpawner#2</Name>
    <UniqueId>b2528304-d128-4f7f-b7e0-491330ddd38c</UniqueId>
    <Map>Felucca</Map>
    <X>5444</X>
    <Y>1151</Y>
    <Width>10</Width>
    <Height>10</Height>
    <CentreX>5449</CentreX>
    <CentreY>1156</CentreY>
    <CentreZ>0</CentreZ>
    <Range>5</Range>
    <MaxCount>2</MaxCount>
    <MinDelay>1</MinDelay>
    <MaxDelay>1</MaxDelay>
    <DelayInSec>True</DelayInSec>
    <Duration>0</Duration>
    <DespawnTime>0</DespawnTime>
    <ProximityRange>-1</ProximityRange>
    <ProximityTriggerSound>500</ProximityTriggerSound>
    <TriggerProbability>1</TriggerProbability>
    <InContainer>False</InContainer>
    <MinRefractory>0</MinRefractory>
    <MaxRefractory>0</MaxRefractory>
    <TODStart>0</TODStart>
    <TODEnd>0</TODEnd>
    <TODMode>0</TODMode>
    <KillReset>1</KillReset>
    <ExternalTriggering>False</ExternalTriggering>
    <SequentialSpawning>-1</SequentialSpawning>
    <AllowGhostTriggering>False</AllowGhostTriggering>
    <SpawnOnTrigger>False</SpawnOnTrigger>
    <SmartSpawning>False</SmartSpawning>
    <Team>0</Team>
    <Amount>1</Amount>
    <IsGroup>False</IsGroup>
    <IsRunning>True</IsRunning>
    <IsHomeRangeRelative>True</IsHomeRangeRelative>
    <Objects2>SET,DaySpawner#1,xmlspawner/running/true:MX=1:SB=1:RT=0:TO=0:KL=0:RK=0:CA=1:DN=5760:DX=5760:SP=1:PR=-1:OBJ=SET,DaySpawner#1,xmlspawner/running/false:MX=1:SB=1:RT=0:TO=0:KL=0:RK=0:CA=1:DN=1440:DX=1440:SP=1:PR=-1</Objects2>
  </Points>
</Spawns>