- 0
This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
Akatalilh
Hello sweeties! I would like to notice before i ask, the fact that my knowledge is limited.
I used to do things on IT but months ago i moved to ct2.5 chronicle (Freya) and things look somehow different! Therefore:
I want to know how is possible to make Spawn mobs (no quest),
I see it look like this
public void wave1(???) { L2NpcTemplate template1; L2Spawn tempSpawn; tempSpawn = NpcTable.getInstance().getTemplate(tempSpawn); tempSpawn = new L2Spawn(template1); tempSpawn.setLocx(106037); tempSpawn.setLocy(114816); tempSpawn.setLocz(-1587); tempSpawn.setHeading(32542); tempSpawn.setAmount(1); SpawnTable.getInstance().addNewSpawn(tempSpawn, false); tempSpawn = spawn(106037, 114816, -1587); }As i remember but on Freya this no work... so i want to know how to make a spawn in specific X-Y-Z Location with specific ammount, heading
and these *2nd question* mobs target an player once they spawn, so how the code should be?
*Thansk in advance!
Edited by Akatalilh10 answers to this question
Recommended Posts