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
Need help with having creep levels in 1 trig for td!!!
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="RageF1R3" data-source="post: 112653" data-attributes="member: 5937"><p>Ive had to deal with the 1000 trigger problem. Right now my map takes 5 min to load and I hav a damn fast PC. This is my advise : you cant really put an event under actions. However try this . . . </p><p></p><p>Make a trigger that sets variables when a creep enters the region you want. Dont have any events in the spawn trigger, jsut use variables for unit types and then when the region trigger is triggered, make it run the Spawning trigger adn set a integer variable(I suggest this variables refers to the the wave number/level) to <variable name> +1.</p><p>This should work fine. Although to prevent the trigger being run over and over in a period use booleans.</p><p>There are 2 ways :</p><p>1) Use to inactive triggers that wait and run each other (For eg, trig1 waits x time then runs trig2 . . .trig2 waits x time and the runs trig1, and therefore a loop. This can be used for selective intervals when booleans are added or when the waiting time differs.)</p><p></p><p>2)Set a boolean in the spawn trigger to false then when the region trigger is trigger make it true, add a condition in the region trigger that checks the boolean for false. If this is done smartly and right, you should get the exact result.</p><p></p><p>Using booleans/waits or selective intervals is by far better (like 100x better) as using time - periodic event really slows down gameplay and increases loading time.</p><p></p><p>Hint : try making an RPG or AOS 1st to get the hang of things.</p></blockquote><p></p>
[QUOTE="RageF1R3, post: 112653, member: 5937"] Ive had to deal with the 1000 trigger problem. Right now my map takes 5 min to load and I hav a damn fast PC. This is my advise : you cant really put an event under actions. However try this . . . Make a trigger that sets variables when a creep enters the region you want. Dont have any events in the spawn trigger, jsut use variables for unit types and then when the region trigger is triggered, make it run the Spawning trigger adn set a integer variable(I suggest this variables refers to the the wave number/level) to <variable name> +1. This should work fine. Although to prevent the trigger being run over and over in a period use booleans. There are 2 ways : 1) Use to inactive triggers that wait and run each other (For eg, trig1 waits x time then runs trig2 . . .trig2 waits x time and the runs trig1, and therefore a loop. This can be used for selective intervals when booleans are added or when the waiting time differs.) 2)Set a boolean in the spawn trigger to false then when the region trigger is trigger make it true, add a condition in the region trigger that checks the boolean for false. If this is done smartly and right, you should get the exact result. Using booleans/waits or selective intervals is by far better (like 100x better) as using time - periodic event really slows down gameplay and increases loading time. Hint : try making an RPG or AOS 1st to get the hang of things. [/QUOTE]
Verification
Post reply
Other Gaming Forum
PC games
WarCraft III Modding
Need help with having creep levels in 1 trig for td!!!
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