Warcraft III resources & community, 2003–2006 · archived

[help] a question: remove item and requesting hunger system

2 posts
#1

[help] a question: remove item and requesting hunger system

Down to the topic, two troubles are bothering me!

1. In my MoRpg, items are droped randomly from the dying creeps. However, by the end of the day, there would be many unwanted rubbish left there on the ground. So I wrote a T to try to soult it ou.

Event: every 300 seconds
Condition: None
Action: Pick every item in playable map area and do
-remove piced items

However, a problem comes out. Soemtime when the player has just MF out a top item and it just meets the checking time of this trigger, then the dropped item will be deleted as well!! Till now I have not found any effective way to get rid of this problem. See if there would be someone who can help me about this?

------------------------------------------------------
The second question is about a system. It is very frequently to see a huger status system in D n' D-like Games. By using "Food" as a cretiria,if it reduces to zero then makes the hero to be faint or dead. If Hero eat food then the figure of "Food" will be restored. I do need this system for my next game!!! If you know how to make it, please do tell me or you can email me at [email protected]. Of course I will credit you in time.

Thank you!!! :P
#2

Thingy

I made the hunger-system thingy. It should be easy to understand and modify. What it does is basically just add to an integer every *w/e* second, and when its full it runs a trigger. Anywayz, here it is!
It even comes with a nice multiboard, just for you ;P

Hunger System.zip

If you wanna give credit(not req ofc, just wanna help :)) my online name is gheed.