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 01-02-2009, 08:52 AM   #1
Tide-Arc Ephemera
Overdoses result in death
 
Tide-Arc Ephemera's Avatar
 
Join Date: Jan 2007
Posts: 2,365

Submissions (3)

Tide-Arc Ephemera is a jewel in the rough (206)Tide-Arc Ephemera is a jewel in the rough (206)Tide-Arc Ephemera is a jewel in the rough (206)

Default [Help] Problems With Barrage

Alrighty, I'm using the Barrage on my towers to let them attack multiple units/towers simultaneously but I'm currently experiencing some bothersome problems.

The way I was told Barrage would allow a unit to hit 1 + Maximum number of targets specified.

So, the level one tower should hit 2 units and the next level should hit 4. I set the maximum number of targets to 1 and 3 respectively, however instead of attacking 2 and 4 units, it's attacking 3 and 5.

What am I doing wrong?
__________________
Before asking for help with triggers... read this and check your trigger!

If you're having troubles getting help on WC3C or anywhere at all, please have a look at...
The WRONG way to ask for help and The CORRECT way to ask for help.

Quote:
Originally Posted by Alevice
You may never stop our bioweapon! We mexicans shall rule the third world! Mwahahahahahahaha!
Please acknowledge that I use Mac and avoid suggesting vJass and other tools that don't work on it. Thank you.
Tide-Arc Ephemera is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 01-02-2009, 09:18 AM   #2
Kino
User
 
Kino's Avatar
 
Join Date: Apr 2008
Posts: 557

Submissions (10)

Kino has a spectacular aura about (80)Kino has a spectacular aura about (80)Kino has a spectacular aura about (80)

Default

Well looking from the numbers I have a feeling the "Maximum number of targets" in barrage is excluding the original attack.

You know one of those Blizz screw ups common in the editor.
__________________
Kino is offline   Reply With Quote
Old 01-02-2009, 09:27 AM   #3
Tide-Arc Ephemera
Overdoses result in death
 
Tide-Arc Ephemera's Avatar
 
Join Date: Jan 2007
Posts: 2,365

Submissions (3)

Tide-Arc Ephemera is a jewel in the rough (206)Tide-Arc Ephemera is a jewel in the rough (206)Tide-Arc Ephemera is a jewel in the rough (206)

Default

I've fixed the 4-targets one by setting maximum targets to 2, however setting the other one to 0 did not work.
__________________
Before asking for help with triggers... read this and check your trigger!

If you're having troubles getting help on WC3C or anywhere at all, please have a look at...
The WRONG way to ask for help and The CORRECT way to ask for help.

Quote:
Originally Posted by Alevice
You may never stop our bioweapon! We mexicans shall rule the third world! Mwahahahahahahaha!
Please acknowledge that I use Mac and avoid suggesting vJass and other tools that don't work on it. Thank you.
Tide-Arc Ephemera is offline   Reply With Quote
Old 01-02-2009, 09:30 AM   #4
Kino
User
 
Kino's Avatar
 
Join Date: Apr 2008
Posts: 557

Submissions (10)

Kino has a spectacular aura about (80)Kino has a spectacular aura about (80)Kino has a spectacular aura about (80)

Default

Hmm imma go do some testing now.

EDIT:I tried using a 2 maximum targets and found it works normally. However it seems to not function when the target is at certain angles form the attacker.

I have a feeling its due to adjacent units to the target being out of the attackers range.
Maybe extend your towers range abit and try if it works.

I also found that settings "Maximum Targets" to 0 seems to allow the attacking of infinite targets.
__________________

Last edited by Kino : 01-02-2009 at 09:38 AM.
Kino is offline   Reply With Quote
Old 01-02-2009, 09:56 AM   #5
Tide-Arc Ephemera
Overdoses result in death
 
Tide-Arc Ephemera's Avatar
 
Join Date: Jan 2007
Posts: 2,365

Submissions (3)

Tide-Arc Ephemera is a jewel in the rough (206)Tide-Arc Ephemera is a jewel in the rough (206)Tide-Arc Ephemera is a jewel in the rough (206)

Default

I extended the range to be 50 greater than the Barrage's range and there was no change.
__________________
Before asking for help with triggers... read this and check your trigger!

If you're having troubles getting help on WC3C or anywhere at all, please have a look at...
The WRONG way to ask for help and The CORRECT way to ask for help.

Quote:
Originally Posted by Alevice
You may never stop our bioweapon! We mexicans shall rule the third world! Mwahahahahahahaha!
Please acknowledge that I use Mac and avoid suggesting vJass and other tools that don't work on it. Thank you.
Tide-Arc Ephemera is offline   Reply With Quote
Old 01-02-2009, 10:00 AM   #6
Fireeye
†ChÆos†™
 
Fireeye's Avatar
 
Join Date: Jun 2006
Posts: 495

Submissions (2)

Fireeye has a spectacular aura about (113)Fireeye has a spectacular aura about (113)Fireeye has a spectacular aura about (113)Fireeye has a spectacular aura about (113)

Default

I though the maximum target were at least 3, no matter how low you set the value.
It's kinda buggy...

Maximum targets : 0 == Infinite Targets
Maximum targets : 1 ~ 2 == 3 Targets
Maximum targets : 3 ~ n == n+1 Targets

That's what i know, no guarantee for being correct.
__________________
Fireeye is offline   Reply With Quote
Old 01-02-2009, 10:01 AM   #7
Tide-Arc Ephemera
Overdoses result in death
 
Tide-Arc Ephemera's Avatar
 
Join Date: Jan 2007
Posts: 2,365

Submissions (3)

Tide-Arc Ephemera is a jewel in the rough (206)Tide-Arc Ephemera is a jewel in the rough (206)Tide-Arc Ephemera is a jewel in the rough (206)

Default

Argh, fudge this then. I'll lower the tower's damage by 4 and make the number of targets 3 and 5.

EDIT!
+Rep to whoever tried to help.
__________________
Before asking for help with triggers... read this and check your trigger!

If you're having troubles getting help on WC3C or anywhere at all, please have a look at...
The WRONG way to ask for help and The CORRECT way to ask for help.

Quote:
Originally Posted by Alevice
You may never stop our bioweapon! We mexicans shall rule the third world! Mwahahahahahahaha!
Please acknowledge that I use Mac and avoid suggesting vJass and other tools that don't work on it. Thank you.

Last edited by Tide-Arc Ephemera : 01-02-2009 at 10:06 AM.
Tide-Arc Ephemera is offline   Reply With Quote
Old 01-03-2009, 01:04 AM   #8
Nuclear Arbitor
Reputation Leech
 
Nuclear Arbitor's Avatar
 
Join Date: May 2007
Posts: 1,235

Submissions (1)

Nuclear Arbitor has a spectacular aura about (83)Nuclear Arbitor has a spectacular aura about (83)Nuclear Arbitor has a spectacular aura about (83)

Default

if i remember correctly using that ability u can hit 3-9 targets total. meaning u have to hit at least 3 but not more then 9
Nuclear Arbitor is offline   Reply With Quote
Old 01-03-2009, 01:29 AM   #9
Ammorth
I blink, therefore I am.
 
Ammorth's Avatar
 
Join Date: Sep 2006
Posts: 1,812

Submissions (10)

Ammorth is a glorious beacon of light (453)Ammorth is a glorious beacon of light (453)Ammorth is a glorious beacon of light (453)Ammorth is a glorious beacon of light (453)

Default

Barrage functions like this:

A unit gets its normal attack.
A unit gains 1 extra attack for having barrage.
A unit gains n extra attacks for n "Maximum Targets" except for 0, which means unlimited.

aka. Barrage can only have a minimum of 3 targets (1 normal + 1 for barrage and a min 1 for Max targets).
__________________
Ammorth 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 05:49 AM.


Donate

Affiliates
The Hubb http://bylur.com - Warcraft, StarCraft, Diablo and DotA Blog & Forums The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

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