| 07-16-2002, 11:09 PM | #1 |
ok here it goes. event: unit enters region condition: owner of trigering unit has equal to or greater then 30 gold action: move unit to region make unit sleep wait 4 seaconds set life of unit to 100% wait 1 seacond move unit to region subtract 30 gold from owner of triggering unit Now most of that i can do. i just cant find a condition thats like the one i posted above, also i cant find an action that subtracts a player's property. Another thing is is that when i tryed this with a hero (I.E took a hero to the first region) everything went fine but he would not fall asleep?. By the way this is for an Inn just to let you know. |
| 07-17-2002, 12:52 AM | #2 |
Guest | For player gold, the condition is: Integer Comparison -> Player - Player Property -> gold As for subtracting gold, there is no "subtraction". You just have to add a negative amount. In your case it would be add -30 gold. Hope thats what your looking for. |
| 07-17-2002, 02:39 AM | #3 |
Yes thats perfect thank you very much. |
