Kakaroto Posted May 4, 2016 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 638 Reputation: 95 Joined: 05/11/12 Last Seen: 22 hours ago Share Posted May 4, 2016 Hello good afternoon, someone could tell me what's wrong with the sentence of this script? .@skillunit = monster(.@map$,359,294,"",2337,1); setunitdata .@skillunit, 9, 0; setunitdata .@skillunit, 29, 1; unitskilluseid .@skillunit,353,10,1; Error in the map_server: Quote Link to comment Share on other sites More sharing options...
0 Tokei Posted May 4, 2016 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 696 Reputation: 722 Joined: 11/12/12 Last Seen: Yesterday at 03:21 PM Share Posted May 4, 2016 The GID is not supposed to be 199 (GIDs are way higher); the monster function does not return a value by default either, so I'm assuming you made a custom command? Either way, the following should work properly: monster(.@map$,359,294,"",2337,1); .@skillunit = $@mobid[0]; setunitdata .@skillunit, 9, 0; setunitdata .@skillunit, 29, 1; unitskilluseid .@skillunit,353,10,1; 1 Quote Link to comment Share on other sites More sharing options...
0 Kakaroto Posted May 4, 2016 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 638 Reputation: 95 Joined: 05/11/12 Last Seen: 22 hours ago Author Share Posted May 4, 2016 The GID is not supposed to be 199 (GIDs are way higher); the monster function does not return a value by default either, so I'm assuming you made a custom command? Either way, the following should work properly: monster(.@map$,359,294,"",2337,1); .@skillunit = $@mobid[0]; setunitdata .@skillunit, 9, 0; setunitdata .@skillunit, 29, 1; unitskilluseid .@skillunit,353,10,1; It is to be used in a custom instance. Quote Link to comment Share on other sites More sharing options...
Question
Kakaroto
Error in the map_server:
Link to comment
Share on other sites
2 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.