wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Warcraft III Modding > Developer's Corner > General Development
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 10-26-2010, 08:01 AM   #1
Anktan
User
 
Join Date: Mar 2008
Posts: 10

Anktan has little to show at this moment (0)

Default Stats - Priority in Object Editor

Hi,

does anyone know what exactly the Stats - Priority parameter do (it is available for units and heroes in the Object Editor)?

I've read somewhere that it controls how likely hostile units will be to attack the unit. For example, 20 would mean that it is preferable over other targets whereas 1 means it will be the last to be attacked.

I've tried to test it in-game: I've placed a Mountain King (hero) and a Footman (priority 6) and a Sorceress (priority 8) nearby but the Mountain King always attacked the Footman...
Anktan is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 10-26-2010, 02:58 PM   #2
DioD
obey
 
DioD's Avatar
 
Join Date: Feb 2006
Posts: 1,532

Submissions (4)

DioD is a jewel in the rough (220)DioD is a jewel in the rough (220)DioD is a jewel in the rough (220)DioD is a jewel in the rough (220)

Send a message via ICQ to DioD
Default

priority used by AI only.
DioD is offline   Reply With Quote
Old 10-27-2010, 08:53 PM   #3
67chrome
I never say Ni
 
67chrome's Avatar
 
Join Date: Sep 2006
Posts: 72

Submissions (4)

67chrome has a spectacular aura about (78)67chrome has a spectacular aura about (78)67chrome has a spectacular aura about (78)

Race-Building Contest #2 Winner

Default

Priority determines which unit is shown in the portrait when a group of units is selected. Ie if you select a group of footman and a paladin, the paladin will always have his abilities and portrait shown. (higher numbers = greater priority)

Generally units with more spells and activate abilities have a higher priority, as it makes more sense they should be readily available. The most powerful hero in a map should have the highest priority as well, it sort of sucks when summoned units come out on top when you select a group with your hero in it.

Starcraft had something similar, except all the Terran units actually had a military ranking, which was pretty awesome.
__________________
67chrome is offline   Reply With Quote
Old 10-27-2010, 09:48 PM   #4
Fledermaus
default string
 
Fledermaus's Avatar
 
Join Date: May 2006
Posts: 705

Submissions (1)

Fledermaus is a jewel in the rough (194)Fledermaus is a jewel in the rough (194)Fledermaus is a jewel in the rough (194)

Send a message via MSN to Fledermaus
Default

Pretty sure Formation Rank determines that, not Priority.
Fledermaus is offline   Reply With Quote
Old 10-28-2010, 02:29 AM   #5
67chrome
I never say Ni
 
67chrome's Avatar
 
Join Date: Sep 2006
Posts: 72

Submissions (4)

67chrome has a spectacular aura about (78)67chrome has a spectacular aura about (78)67chrome has a spectacular aura about (78)

Race-Building Contest #2 Winner

Default

Formation rank determines how units will orientate themselves when marching to a destination, the lower the rank the further in front they will be. The highest formation rank any units have is 4, which most workers have, so they will stay as far in the back as possible. This value typically ranges from 0 to 3 depending on the survivability or max range of a units, but has no effect on which unit actually appears on top when you select a group of units.

Unit priority determines which unit comes out on top when you select a group, which is higher on spellcasters and heros.
__________________
67chrome is offline   Reply With Quote
Old 10-30-2010, 09:22 AM   #6
Anktan
User
 
Join Date: Mar 2008
Posts: 10

Anktan has little to show at this moment (0)

Default

Okay, thank you very much. :)
Anktan is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 08:09 AM.


Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2019, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services