| 07-22-2004, 04:29 AM | #1 |
Is there a way to make mana reduce only when an object is moving. If possible can u tell me how? Thank you in advance |
| 07-22-2004, 09:31 AM | #2 |
Omfg i hate wc3c some times... i forgot to copy the message before posting, and when i posted i got the (usual^^) "page cannot be shown"... Oh well ill try to make it short, i had written quite a long description for u. First of all, allways explain the problem, dont just write 5 words and expect ppl to understand what you mean. If i did get you correctly, you need to do this: Every sec, save the units position in a variable (if you have multiple, just pick and set to a variable array) and check if it has changed since the last position check. if it HAS changed, drain alittle mana and continue checking. |
| 07-22-2004, 07:06 PM | #3 |
Ummm i guess that helped thanks. But im new at map making just started first map few days ago. So ill see wat i can do.... |
