• 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.

[General] Need help for autofill

Status
Not open for further replies.
Level 20
Joined
Jul 14, 2011
Messages
3,213
1- You shouldn't have an ability with 201 levels... seriously, you should not.

2- Try starting from -1 instead of starting from 0.
 
Level 2
Joined
Apr 28, 2010
Messages
19
is it not possible to allow negative numbers in real by adjusting the map preferences? (file -> preferences -> general)

Never tried it before but I saw it last time when checking my map preferences.
 
Level 25
Joined
Jul 10, 2006
Messages
3,315
Use the editor's autofill feature to set one of the datafields to 0,1,2,3,4,etc

In your tooltip you can reference that data field, looks like this:
"The hero targets a unit to deal <DataA1> damage to it."
You can then use autofill on the tooltips to have it fill in DataA2 in the second level, DataA3 in the 3rd, etc.

Look at the default spells to see the exact syntax.

You might also need to include the spell's code, which you can see in the editor by hitting Ctrl-D.
 
Level 25
Joined
Jul 10, 2006
Messages
3,315
You should avoid having so many levels on an ability, it can greatly increase load times.

I'd suggest you rather scale abilities differently. Let's have a total 10 levels, each with say 3 seconds longer than the previous.
Then increase the level/exp requirement for each one increasingly, eg as follows:
Level 1 - 10 kills
Level 2 - 25 kills
Level 3 - 50 kills
Level 4 - 100 kills
etc
 
Status
Not open for further replies.
Top