Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Come and join our gamer community by
registering for free here
Other Gaming Forum
PC games
WarCraft III Modding
New Resources
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Hunter_destruction" data-source="post: 111340" data-attributes="member: 5836"><p>Well, No. At least not any that you can really see...</p><p>You could though use variables to create invisible resources...kinda.</p><p></p><p>So let's say you make an integer variable named "Air" for instance. </p><p>Do somehting like</p><p></p><p>E:Map Init.</p><p>C: None</p><p>A: Set variable = AIR to value (startingvaule)</p><p></p><p>Then let's say you want to use this resource hen you train a footman, like 3 AIR.</p><p></p><p>E: Unit starts training a unit.</p><p>C: Unit equal to footman</p><p>A: Set AIR to AIR-3</p><p>------------------------------</p><p>(I didn't have WE open)</p><p>------------------------------</p><p>Also you need to make a trigger that checks how much of your variable is left, if you need help with that tell me.</p><p></p><p>Another issue might be, how do you get the resource?</p><p>Well all you have to do is make an event like, unit dies, destructiable dies.</p><p>For instance with my air example, make a custom destructiable with like 10 HP and then when your units kill it you add let's say 5 AIR to your AIR supply.</p><p>(And to display how much you AIR you have just make a timed event, or typed event, and then display the variable number)</p><p></p><p>~Destruction</p></blockquote><p></p>
[QUOTE="Hunter_destruction, post: 111340, member: 5836"] Well, No. At least not any that you can really see... You could though use variables to create invisible resources...kinda. So let's say you make an integer variable named "Air" for instance. Do somehting like E:Map Init. C: None A: Set variable = AIR to value (startingvaule) Then let's say you want to use this resource hen you train a footman, like 3 AIR. E: Unit starts training a unit. C: Unit equal to footman A: Set AIR to AIR-3 ------------------------------ (I didn't have WE open) ------------------------------ Also you need to make a trigger that checks how much of your variable is left, if you need help with that tell me. Another issue might be, how do you get the resource? Well all you have to do is make an event like, unit dies, destructiable dies. For instance with my air example, make a custom destructiable with like 10 HP and then when your units kill it you add let's say 5 AIR to your AIR supply. (And to display how much you AIR you have just make a timed event, or typed event, and then display the variable number) ~Destruction [/QUOTE]
Verification
Post reply
Other Gaming Forum
PC games
WarCraft III Modding
New Resources
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top