• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Problem raids

kilirt

New Member
Joined
May 11, 2009
Messages
223
Reaction score
2
Hello i've a problem with my raid system this not said broadcast but rat is summon succefull

Test.xml:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<raid>
	<singlespawn delay="10100" name="Rat" x="995" y="1007" z="7"/>
</raid>

Raids.xml:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<raids>
<raid name="test" file="test.xml" interval2="1" margin="0" reftype="single" ref="yes"/>
</raids>

Script:
Raidevent.lua:
Lua:
function onRaid()
	doBroadcastMessage("Broadcast from a raid script!")
	return true
end
 
Modify Test.xml:
XML:
<?xml version="1.0" encoding="UTF-8"?>
<raid>
	<singlespawn delay="10100" name="Rat" x="995" y="1007" z="7"/>
	<script delay="10100" file="raidevent.lua"/>
</raid>
 
Mhmmm thx work but i've think the event broadcast said: "(monster) Is comming attack the city" or other but said the name monster :S can't?
 

Similar threads

Back
Top