3TAJIOH Posted January 10, 2021 Share Posted January 10, 2021 I need to spawn not agressive monsters on event (normally monsters are agressive). Quote Link to comment Share on other sites More sharing options...
1 Emistry Posted January 15, 2021 Share Posted January 15, 2021 [email protected] = 10; monster "prontera",0,0,"Quest Poring",1002,[email protected],"NPCNAME::OnPoringKilled"; copyarray [email protected]_gid, [email protected], [email protected]; for ([email protected] = 0; [email protected] < [email protected]; [email protected]++) { getunitdata [email protected]_gid[[email protected]], [email protected]; if ([email protected][UMOB_MODE] & MD_AGGRESSIVE) setunitdata [email protected]_gid[[email protected]], UMOB_MODE, ([email protected][UMOB_MODE] - MD_AGGRESSIVE); } 1 Quote Link to comment Share on other sites More sharing options...
0 caos51 Posted January 12, 2021 Share 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 Link to comment Share on other sites More sharing options...
0 3TAJIOH Posted January 15, 2021 Author Share Posted January 15, 2021 (edited) Wow, thx a lot @Emistry Edited January 21, 2021 by 3TAJIOH Quote Link to comment Share on other sites More sharing options...
I need to spawn not agressive monsters on event (normally monsters are agressive).
Link to comment
Share on other sites