3TAJIOH Posted January 10, 2021 Posted January 10, 2021 I need to spawn not agressive monsters on event (normally monsters are agressive). Quote
1 Emistry Posted January 15, 2021 Posted January 15, 2021 .@total = 10; monster "prontera",0,0,"Quest Poring",1002,.@total,"NPCNAME::OnPoringKilled"; copyarray .@mob_gid, $@mobid, .@total; for (.@i = 0; .@i < .@total; .@i++) { getunitdata .@mob_gid[.@i], .@array; if (.@array[UMOB_MODE] & MD_AGGRESSIVE) setunitdata .@mob_gid[.@i], UMOB_MODE, (.@array[UMOB_MODE] - MD_AGGRESSIVE); } 2 Quote
0 caos51 Posted January 12, 2021 Posted January 12, 2021 I don´t know if there is an easiest way to do it. But... you can store each monster GID and modify their AI with a function. Quote
0 3TAJIOH Posted January 15, 2021 Author Posted January 15, 2021 (edited) Wow, thx a lot @Emistry Edited January 21, 2021 by 3TAJIOH Quote
Question
3TAJIOH
I need to spawn not agressive monsters on event (normally monsters are agressive).
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.