Jump to content
  • 0

Question

Posted


Hello anyone could help me with this method for aCis?

 

+    /**
+     * Method called to spawn a team flag
+     * @param teamId as Integer
+     * @return L2Spawn
+     */
+    private L2Spawn spawnFlag(int teamId)
+    {
+        return NpcUtils.spawnSingle(teamId == 1 ? BLUE_NPC_ID : RED_NPC_ID, getConfigs().FLAGS.get(teamId), eventInstance);
+    }
+    

 

Cod method jServe


 
/**
* Method spawnSingle.
* @param npcId int
* @param x int
* @param y int
* @param z int
* @return NpcInstance
*/
public static NpcInstance spawnSingle(int npcId, int x, int y, int z)
{
return spawnSingle(npcId, new Location(x, y, z, -1), ReflectionManager.DEFAULT, 0);
}

2 answers to this question

Recommended Posts

  • 0
Posted (edited)

What is this?

 

As i see the spawnSingle just spawn a monster. You want just to spawn a monster in aCis?

Edited by Kara`

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock