hexor9 Posted March 30, 2013 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 106 Reputation: 0 Joined: 11/16/11 Last Seen: October 16, 2016 Share Posted March 30, 2013 OnNPCKillEvent: if( rand(100) > 30 ) end; // 30% trigger Quote Link to comment Share on other sites More sharing options...
Skorm Posted March 30, 2013 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: April 11 Share Posted March 30, 2013 I'm not sure what you mean OnNPCKillEvent is triggered when a "monster" is killed. Killerrid and Killedrid are set. If you want something that's triggered when a player is killed use. OnPCKillEvent: 1 Quote Link to comment Share on other sites More sharing options...
hexor9 Posted March 30, 2013 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 106 Reputation: 0 Joined: 11/16/11 Last Seen: October 16, 2016 Author Share Posted March 30, 2013 no i just asking if that is triggering a player vs player if not its good Quote Link to comment Share on other sites More sharing options...
Emistry Posted March 31, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted March 31, 2013 only OnPCKillEvent / OnPCDieEvent will be used / triggered when a player is killed / kills a player Quote Link to comment Share on other sites More sharing options...
Question
hexor9
Link to comment
Share on other sites
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.