Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
I am making this campaign and it seems like something is generating lag.
If anyone could help making the game run faster and/or find leaks that would be greatly appreciated!
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Item being manipulated)) Equal to Body Armor
(Mana of Hero_Walker) Less than 100.00
Then - Actions
Item - Remove (Item being manipulated)
Unit - Set mana of Hero_Walker to 100.00
Game - Display to (All players) the text: +100 Body Armor
Skip remaining actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Item being manipulated)) Equal to Advanced Body Armor
(Mana of Hero_Walker) Less than 200.00
Then - Actions
Item - Remove (Item being manipulated)
Unit - Set mana of Hero_Walker to 200.00
Game - Display to (All players) the text: +200 Body Armor
Else - Actions
Instead of creatind/destroying unit groups in Bullets, use a global group that you never destroy. Add bullets into it when they are created, remove hen destroyed. You can change 0.02 to 0.03.
Bullet boom should be combined with Bullets.
Shell and Shell Boom -> combine. Use 0.03 seconds.
Same for others.
The best solution would be to use a projectile system that handles all types of projectiles.
Attack 4 leaks.
Teleport leaks.
Tick lava and acid leaks special effects.
Do you mean one that you know of? If so mind showing me which one would be good? Or do you mean to put all the missiles into one trigger (ex. bullets, shells etc.)?
Also if you don't mind explaining the first part more into details about unit groups, I think I get it but wouldn't want to mess anything up ...
here is one that is decent, it supports 200 projectiles.
If you don't mind using jass, just look in the spells section and you'll find a couple better ones(they can support more projectiles) but they are not as easy to use.
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.