| 08-23-2005, 08:31 PM | #1 | |||
Ok, (yes I am using WEU) I'm trying to set the max health of certain units. Quote:
Quote:
Quote:
|
| 08-24-2005, 03:49 AM | #2 |
I think it would help on telling people what is wrong. Does it not remember the custom value, or their original max health, or what? |
| 08-24-2005, 04:54 PM | #3 |
It doesn't do anything, thats whats wrong. |
| 08-25-2005, 02:15 PM | #4 |
A good idea would be to put a peice of code to check if it is working starting at the beggining of the code. Something like "Game-Display message to all players (" SO far so good..."). Then test the game. If you see it, then go back to the editor, and move it down a line of code or two, and try again. Repeat until you don't see it(when it should be seen, of course). If it doesn't show at all, that probobly means something is going wrong with your events/conditions for the script. I recommend using "repeat every .1 seconds" and then inserting a code that says "trigger-Turn this trigger off". Have the trigger that enables it turn it on, instead of calling it. That may sound stupid, adding that extra code, but I know it works, and I don't know how you called the script. Incase that it does show when the event starts, but not later, check your conditions in if statements ect. Incase that it always shows, but still nothing happens, make sure that you used the correct varaibles. |
| 08-25-2005, 02:17 PM | #5 |
In that last script, change "targeted unit" to "trained unit". That's the only thing I can see without even knowing what's wrong to begin with. |
