first of all i have 3 npc
flag 1
flag 2
flag 3
in flag 2 i have use to spawn something guard all is works file but
am try every time to kill Flag2 to delete or kill guard if have guard alive
my problem is i have much flag and if i kill one flag the guard from all flags is delete
i need delete guard only in killed flag
here is the code
in flagGuard i put all name from flag npc
and after i put all spawn from FlagGuardSpawn
public Map<String, ArrayList<L2Spawn>> _FlagGuard = new ConcurrentHashMap<>();
public ArrayList<L2Spawn> _FlagGuardSpawn = new ArrayList<>();
Lineage2 Acessen- INTERLUDE PVP-PVE LOW CLASSIC
RETAIL SERVER !!
💫 NPC BUFFER SENCILLO A PARTIR DE LVL 20
Exp x1.50 | Adena x1.50
Sistema de Casas por alquiler ( incluyen niveles para mejorar la casa + beneficios )
Sistema de tradeo mediante buffalo ( transporte de items de ciudad a ciudad, con ganancia de adena ).
Website: acessen.com.ar
Discord: https://discord.gg/jzyyQtEKmf PARA MAS INFORMACIÓN
🎯 Looking for a stable and fun server to grind with your friends?
Join L2Roosters over 1000+ players online daily, intense epic battles, fair economy, no corruption, and exciting daily events!
💎 Got friends? Bring them along and claim 1 WEEK of FREE Premium Access!
🔥 Start your journey with us today!
Question
tazerman2
hello im try to make a code but i have stuck here
first of all i have 3 npc
flag 1
flag 2
flag 3
in flag 2 i have use to spawn something guard all is works file but
am try every time to kill Flag2 to delete or kill guard if have guard alive
my problem is i have much flag and if i kill one flag the guard from all flags is delete
i need delete guard only in killed flag
here is the code
in flagGuard i put all name from flag npc
and after i put all spawn from FlagGuardSpawn
and here is the delete - doDie code
is work but kill all guard from all flags
i need kill only guard from flag name
3 answers to this question
Recommended Posts