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 > Resources > Code Resources > Scripts
User Name
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar

Thread Tools Search this Thread
Old 06-26-2010, 01:06 PM   #31
Join Date: Jan 2007
Posts: 542

Submissions (11)

Deaod is a jewel in the rough (192)Deaod is a jewel in the rough (192)Deaod is a jewel in the rough (192)


Version 1.8.1
Deaod is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 07-09-2011, 05:56 PM   #32
Join Date: May 2011
Posts: 85

Submissions (2)

BBQ will become famous soon enough (30)BBQ will become famous soon enough (30)


Unfortunately, there are a two major quirks about having this library in your map:
  1. If you have units with the Artillery or the Artillery (line) weapon types, ordering them to Attack Ground would cause WC3 to crash.
  2. If you have units with the Missile (line) or the Missile (bounce) weapon types, they would be unable to attack (no missile, no damage, just the attack animation).
Both are hardcoded bugs and are unavoidable unless softcoded by the user.

Also, why not change the function interface to

function interface OrbCallback takes unit damagedUnit, unit damageSource, real damageAmount returns boolean

so that you could pass that stuff directly to the callback instead of forcing the user to use the GetDamagingUnit(), GetDamagedUnit() and the GetDamage() functions.
BBQ is offline   Reply With Quote

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 03:43 PM.

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