• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Tell Me how to set heights smoothly w/ no lags... NoT IN JasS,Please...!

Status
Not open for further replies.
Level 15
Joined
Sep 1, 2008
Messages
475
[RAINBOW]Hey, is there a trigger that changes the height of a unit smoothly? Cause I want to make a skill, but I don't know how to make it smoothly... all I got was a 100 by 100 height changing, cause if i make it 1 by 1, it goes lagg...
SOMEONE PLEASE TELL ME!!:cry:
BUT, NOT IN scripts OR else that write down like call/function BLa BLa Bla.......:wsad: [/RAINBOW]
 
Please don't make posts like that. Sounds too whiny.

Also, the best way to do it is in JASS, especially if you're planning it to be able to be used by multiple players. In JASS you can assign local variables, which are declared/created each time the function is run.
The global variables of the Variable Editor are a pre-declared "pointer" whose value will be overwritten each time the action it is being used on runs.

Again, this depends entirely on what you're using it on, but GUI doesn't seem like an option for complicated things.
 
Based on Rui's point, GUI is actually the simplified, illustrated version of JASS, which is really, in fact, raw scripting, which is more versatile than its GUI counterpart.

With JASS, you can perform scripted actions unavailable in GUI with better, more controlled results. Setting heights in GUI was meant for objects that were to be flying/hovering and, because of this, its more rough.
In JASS, however, with the use of variables, you can raise your units in a controlled, timed, paced action.

I wish I could give you the code, but I think it would be more beneficial if you read JASS tutorials before we can give you any JASS code.
GUI is too rough for something this delicate.
 
Status
Not open for further replies.
Back
Top