Ryochi Posted June 12, 2011 Author Share Posted June 12, 2011 How do you make player drop all items gained from map and lose the items gained on that map if he gets killed be an npc or player before he leaves the map and he drops all the items he gained on that map.thank you in advance. Link to comment Share on other sites More sharing options...
Derryl Posted June 12, 2011 Share Posted June 12, 2011 http://www.touchofdeathforums.com/smf/index.php/topic,71591.msg769359.html#msg769359 Link to comment Share on other sites More sharing options...
Ryochi Posted June 12, 2011 Author Share Posted June 12, 2011 i dont want all the items to be dropped on death just the items he gained on the map. Link to comment Share on other sites More sharing options...
GrimReaperReborn Posted June 12, 2011 Share Posted June 12, 2011 You'll have to flag each item when its picked up of the map it was picked up on. When the player dies, check if the flag matches the current map, if so drop it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now