| 10-02-2004, 07:20 AM | #1 |
I want to make it that when a unit enters a region that the owner of the triggering unit loses 1000 gold. o_O please help me, if you can ![]() |
| 10-02-2004, 09:15 AM | #2 |
Code:
UnitEntersRegion
Events
Unit - A unit enters No region
Conditions
Actions
Player - Set (Owner of (Entering unit)) Current gold to (((Owner of (Entering unit)) Current gold) - 1000)There you go. The actions are "Set Player Proptery" (Not add). The rest should be enough of info for you to figure out yourself. |
| 10-02-2004, 12:39 PM | #3 |
Did you test that? Because it subtracts all of the gold not just 1000 gold if any1 else has a soultion please post ![]() |
| 10-02-2004, 08:54 PM | #4 | |
Quote:
it works. check your money before entering the region. it should be above 1000 |
| 10-03-2004, 12:48 AM | #5 |
That's the same as the other one, but it doesn't work - gold subtracts all gold... if the trigger was - 1 gold and you 1000000000000000000000000 gold you would then have NO GOLD. thanks for trying :D |
| 10-03-2004, 12:57 AM | #6 |
That doesn't make any sense. It's foolproof. (I guess it's not... Never mind). |
| 10-03-2004, 01:13 AM | #7 |
are you sure u put in ur region? if u kept no region then it may just constantly remove 1000 gold, theres nothing wrong with his trigger. |
| 10-03-2004, 01:17 AM | #8 | |
Quote:
|
| 10-03-2004, 01:32 AM | #9 |
Post the exact trigger you used that caused all the gold to go away theres probly something wrong with what you put in.(copy the trigger as text and past it in [code] tags incase you didnt know) |
| 10-03-2004, 01:39 AM | #10 | |
Quote:
lol world editor won't let you create a region baced event without a region ^_^ |
| 10-03-2004, 01:40 AM | #11 |
Observe the attachment. I know what you did wrong. It was all you and I was right the whole time. You're welcome. |
| 10-03-2004, 01:41 AM | #12 |
I had 1500 gold, the trigger was the same as Dead-Inside, my unit entered the region and lost all gold. so - 1000 took away 1500 gold |
| 10-03-2004, 01:42 AM | #13 |
Please refresh the page and download the attachment. Then learn how to read. |
| 10-03-2004, 01:44 AM | #14 |
downloaded |
| 10-03-2004, 01:50 AM | #15 |
I'm going to bed now. I hope you can figure out what I was really saying this time around. Good night everybody, and good luck grd. |
