Register for free, and make this box disappear!

Welcome to the BF Forums! Register Now, It's Free!


Welcome to the BF Forums; your source for the latest video game news, strategies, discussions, and resources. Join over 66,000 like-minded gamers to chat about your interests in our community.

You are currently viewing the forums as a guest user, which limits your access to certain content, contests, downloads, and more. By joining our free community, you will be able to respond in discussions/articles, contact members privately (PM), participate in regular-scheduled contests, see less advertisements, and have access to many other features. Registration is quick, easy, and completely free. Whatever your game interest may be, you'll find information here where people realize that games are more than just poker online.


Have your questions answered. Share your thoughts about a topic. Take 2 minutes, Register Now!
BattleForums.com Blizzard Gaming Forums > Warcraft > Warcraft General > Warcraft Maps and Modifications

We're Half-Way There!! - BF Lotto: $50 Ebay or Amazon Gift Card - A Single Click is All It Takes...

Reply
 
Thread Tools Display Modes
Old 04-23-2004, 12:03 AM   #1 (permalink)
BattleForums Junior Member
 
Dougin's Avatar
 
Join Date: Mar 2004
Location: Wonderland
Posts: 27
sounds stupid, but it only kinda is

So here's the latest in my ongoing series of problems with WorldEditor. Hopefully, one of the wise folks on here can give me a hand...

Basically, what I want to do is make it so that a hero steals gold from heroes he kills. Easy enough. Triggers and so forth. Here's the rub - at least for me. I want this to be linked to a hero ability, called - say - Steal Gold. I want 5% of the opponent's gold to be stolen per level of the ability, up to 30%.

So I figured that I'd make a variable called StealLevel (which i would make increase every time the hero learns the skill Steal Gold) and I'd be a very happy man. Not so. I've got it set up so that when the foe's hero dies, the opposing player loses gold equal to (TotalGold)x(StealLevel)x5/100. The problem is that the StealLevel variable won't go up, even when he first learns the skill. This is what the trigger looks like:

Event - Unit - Viking (the name of the unit with Loot) Learns a skill
Condition - (Learned Hero Skill) Equal to Steal Gold.
Action - Set StealLevel = StealLevel + 1

After that, I tossed in another Action that was supposed to show me a text message, just so I could make sure it works. The text message never showed.

Any idea what I'm doing wrong here?
__________________
Some tool hacked my profile. Evidently, he thinks I'm a homo bunny.
Dougin is offline   Reply With Quote
Beitrag Sponsored Links

__________________
Ads suck! Take 2 minutes to register for your free account, and GET RID OF THESE ADS!
Old 04-24-2004, 04:01 PM   #2 (permalink)
BattleForums Junior Member
 
Garthrs's Avatar
 
Join Date: Aug 2003
Location: Usually buried at work
Posts: 130
did you you try just adding organics to pillage the orc ability? Cuz your trigger looks right... Can you post the map, so I can look? Or email it to me...
Garthrs is offline   Reply With Quote
Old 04-24-2004, 07:19 PM   #3 (permalink)
BattleForums Junior Member
 
Dougin's Avatar
 
Join Date: Mar 2004
Location: Wonderland
Posts: 27
Turns out I'm the world's biggest idiot. It was some stupid little mistake I made that prevented it from working. Fixed it, and it's going well now. Thanks for the help, though.
__________________
Some tool hacked my profile. Evidently, he thinks I'm a homo bunny.
Dougin is offline   Reply With Quote
 
Reply

Get rid of all these ads! Take 30 seconds to register.

« mini map previewer | Speaker is in need of help »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT +1. The time now is 06:11 AM.



Powered by vBulletin® Version 3.7.2 | Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0