• 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!

[Raid] Spawn Item

trollebror

Developer
Joined
Aug 8, 2009
Messages
362
Reaction score
58
Location
Sweden, Linköping
Hello.
I am using tfs 0.2.10. To spawn a item with a raid, how do you do that? This pieces of code I thought was working, but it does not.
<itemspawn delay="0" id="7432" x="1016" y="970" z="7"/>
<effect delay="0" name="bigclouds" x="1016" y="970" z="7"/>
Any ideas?
 
itemspawn isnt added in 0.2
I don't know if this would work, because I don't know if onRaid is executed..
You could spawn a special uniquemonster with the raid (at start) and onRaid you check if the monster exists (getCreatureByName("UniqueShitMonster")) and then if the monster exists you create the item and remove the monster.
 
Simply make a monster -> make the monster drop the item you want with high drop rate or make his dead body to the item you want (you make monsters in monster map) -> add the monster in the raid (should be a special raid map) -> the monster dies -> he dropps the item... tadaa!
 
Last edited:

Similar threads

Back
Top