Help on Wisp Wheel with local variables

Do you need World Editor help? Ask here!
Forum rules
Before making a new topic:
First, check if your question has already been answered in the Tutorials section.
If you didn't find a solution, use the search function.
If searching didn't help either, you can make a new topic.

Topic title & content:
You must use a descriptive title. (Help plz is not good) (Need help with Dialog buttons is good)
Go into much detail when posting. You should post attachments. Like screenshots of the problem, the map you are making, replays of the error. Or you could even make a screencast (video) of your problem and upload it here.

Spelling:
Grammar seems to be a serious problem amongst teenagers, so use a spell checker or you will get no love.
Read your posts twice, before pressing the reply button.
And do not use profanity. Chatspeak (y r u nub) and Leetspeak (1 C4N S33 H4X) are not welcome here either.

Only World Editor related questions are allowed here!
(Click for Battle.net help) (Click for World Editor help)
samtre
Posts: 82
Joined: Thu Nov 27, 2008 6:43 am

Help on Wisp Wheel with local variables

Unread post by samtre »

is there a way to create an independent wisp wheel (the units has Locust ability), when a spell is casted, the 'wheel' is created and it acts without the use of global variables (to save (ALOT) space and leak) of arrays. I was able to create a local trigger and tested it, with a loop of 360/180/120 and waiting time of 0.03 each with angle increment 1/2/3 degree accordingly. But because of the wait limit blizzard set (approx. 0.30sec wait(action)) its going way slow......

so if its possible, how to fit a whole wisp wheel system into a trigger, i've thought of a way to handle it using global groups, but somehow because the units have Locust ability, you can't changed their position based on their facing angle (i used this type of WW which uses units facing angle because there's no middle point of the circles)

User avatar
3ICE
Admin
Posts: 2629
Joined: Sat Mar 01, 2008 11:34 pm
Realm: Europe
Account: 3ICE
Clan: 3ICE
Location: Hungary
Contact:

Re: Help on Wisp Wheel with local variables

Unread post by 3ICE »

Globals have nothing to do with the severity of memory leaks, they take up the same amount of memory as locals do.
A LOT are two words.
Use timers, not waits.
You need more than one trigger. One to initialize, one to periodically update the units.
I am pretty sure locusted units do have a facing angle.
ImageImageImageImageImage
Image
ImageImage

Post Reply

Who is online

Users browsing this forum: No registered users and 119 guests