(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Modding > World Editor Help Zone

World Editor Help Zone Need help with Blizzard's World Editor? Ask general questions about its features and use in this forum. README!

Reply
 
LinkBack Thread Tools Display Modes
Old 12-02-2008, 09:59 AM   #1 (permalink)
 
Kratos1987's Avatar

Master MagicSwordsman !
 
Join Date: Jul 2008
Posts: 48

Kratos1987 has little to show at this moment (2)


Help with loading resourses!

Please help, i can't seem to transfer total used food over to the next map in my campaign!

I am using the "food used" as a kill counter so players know how many monsters they have killed altogether, also it's going to be used for an item that increases in attack power with every 20 kills the player has made.

I have got the gold and lumber to transfer but the food seems to not work :(

Any help is appreciated!!
__________________
Kratos: Feel the pain.....Oh those inferior beings......As you burn in hell!
Kratos1987 is offline   Reply With Quote
Old 12-02-2008, 10:12 AM   #2 (permalink)
 
DarkAngelAzazel's Avatar

Envoy of the Apocalypse
 
Join Date: Sep 2008
Posts: 412

DarkAngelAzazel has little to show at this moment (36)DarkAngelAzazel has little to show at this moment (36)DarkAngelAzazel has little to show at this moment (36)DarkAngelAzazel has little to show at this moment (36)


I never made a campaign but couldn't you just save it in a variable (real or integer) and set it when the next map is loaded???
__________________
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe"

Quote from Albert Einstein
DarkAngelAzazel is offline   Reply With Quote
Old 12-02-2008, 10:16 AM   #3 (permalink)
 
TheBlooddancer's Avatar

Cute Kargo is Cute :3
 
Join Date: Jun 2008
Posts: 2,674

TheBlooddancer is just really nice (418)TheBlooddancer is just really nice (418)TheBlooddancer is just really nice (418)TheBlooddancer is just really nice (418)TheBlooddancer is just really nice (418)


I suppose he could. Remember that food cap, should be like 20000 or so, and Food limit should be max food. 'food quanty' is the food you have.
__________________
Last edited by The Administration; Today at 15:08 PM.. Reason: Do not spam, flame, harass and discriminate other users in a such way.



TheBlooddancer is offline   Reply With Quote
Old 12-02-2008, 03:51 PM   #4 (permalink)
 
Avator's Avatar

You have been Avatorised!
 
Join Date: Aug 2008
Posts: 1,154

Avator has a spectacular aura about (143)Avator has a spectacular aura about (143)Avator has a spectacular aura about (143)Avator has a spectacular aura about (143)


I assume you increase this 'kill counter' by adding a unit that takes up 1 food every time the player kills an opponent.

Simply count the number of these units, set them to an integer variable and save that. In the new map you create the amount of units again equal to the integer number you stored.
__________________
Current projects:Released information:Progress:
Infinite Blood: Twisted TwinsForumllllllllllllllllllll (15% - On hold)
Final Fantasy IXForumllllllllllllllllllll (13% - Main project)
A for AssassinForumllllllllllllllllllll (0% - Concept stage)
A New Day DawnsForumllllllllllllllllllll (0% - Concept stage)
Disco ChickenDownloadComplete
Avator is offline   Reply With Quote
Old 12-02-2008, 03:59 PM   #5 (permalink)
 
bounty hunter2's Avatar

Mapper
 
Join Date: Sep 2005
Posts: 785

bounty hunter2 will become famous soon enough (108)bounty hunter2 will become famous soon enough (108)bounty hunter2 will become famous soon enough (108)


set integer = current food used

store in game cache
__________________
[12-20-47] bounty hunter2 has joined the channel
[12-32-46] iSky: bounty hunter2, u die u pandaria fan
bounty hunter2 is offline   Reply With Quote
Old 12-03-2008, 04:03 PM   #6 (permalink)
 
Kratos1987's Avatar

Master MagicSwordsman !
 
Join Date: Jul 2008
Posts: 48

Kratos1987 has little to show at this moment (2)


Thanks guys, i have got the trigger working,to Avator. the food used increases each time a neutral hostile is killed, no units are added to the map :)

Thanks too all, +rep

Thanks again!!
__________________
Kratos: Feel the pain.....Oh those inferior beings......As you burn in hell!
Kratos1987 is offline   Reply With Quote
Old 12-03-2008, 04:05 PM   #7 (permalink)
 
bounty hunter2's Avatar

Mapper
 
Join Date: Sep 2005
Posts: 785

bounty hunter2 will become famous soon enough (108)bounty hunter2 will become famous soon enough (108)bounty hunter2 will become famous soon enough (108)


no problem, thx on rep
__________________
[12-20-47] bounty hunter2 has joined the channel
[12-32-46] iSky: bounty hunter2, u die u pandaria fan
bounty hunter2 is offline   Reply With Quote
Reply

Bookmarks

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 On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
need loading screen psymage2 Requests 0 06-27-2008 01:54 AM
unprofiteble resourses Teomat Idea Factory 3 05-30-2008 07:56 PM
Loading Screen burnasfire Texturing & Surfacing 1 11-30-2006 08:26 PM
loading........................... JimMarlowe Jr Site Discussion 7 01-08-2006 09:35 AM
Loading models BOMBMAN Modeling & Animation 2 06-12-2005 01:06 PM

All times are GMT. The time now is 05:12 AM.






Your link here 
3dge Viral Emails | Naruto Shippuden | Web Advertising | Buy WoW Gold | Loans
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle