• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Battle Stations spell

Status
Not open for further replies.
Level 2
Joined
Sep 22, 2007
Messages
19
im trying to make spell which automatically loads units to nearby ship. it need to load many type of unit with Battle Station spell/ablity(one which orc burrows have).
anyway i cant seem to be able to choose multiple units to load.
is there way to get more units chosen at line:
Data - Allowed Unit Type (Btl1)


if not, is there way to make this with triggers? full trigger please, im totaly lost with making triggers.:cry:
 
Level 12
Joined
Aug 22, 2008
Messages
911
It should be possible in GUI, but the loading unit should also have the "Load" ability:
  • Automatic Load
    • Events
      • Unit - A unit begins the effect of an ability
    • Conditions
      • (Ability being cast) equal to Load Nearest
    • Actions
      • Unit Group - Pick every unit in (Units within 300.00 range of (Triggering Unit) matching ((Owner of (Matching Unit)) is an ally of (Owner of (Triggering Unit))) and do...
        • Loop - Actions
          • Unit - Order (Matching Unit) to (be loaded by (Triggering Unit))
NOTE: Load Nearest is a dummy ability that is instantly casted (not targeting a unit or an area).
 
Level 2
Joined
Sep 22, 2007
Messages
19
It should be possible in GUI, but the loading unit should also have the "Load" ability:
  • Automatic Load
    • Events
      • Unit - A unit begins the effect of an ability
    • Conditions
      • (Ability being cast) equal to Load Nearest
    • Actions
      • Unit Group - Pick every unit in (Units within 300.00 range of (Triggering Unit) matching ((Owner of (Matching Unit)) is an ally of (Owner of (Triggering Unit))) and do...
        • Loop - Actions
          • Unit - Order (Matching Unit) to (be loaded by (Triggering Unit))
NOTE: Load Nearest is a dummy ability that is instantly casted (not targeting a unit or an area).
it makes ship dissapear. thanks anyway, reputation given.
 
Level 34
Joined
Jul 4, 2007
Messages
5,552
Ok to summarize it:

You want an altered version of Battle Stations that'll let (for example) Peons and Grunts in the ship.

The units have to classed as -I think- Locusts to enable them to go in the ships.

Maps like Life of a Marine have this ability that enables every type of marine enter and shoot from the bunkers. Unfortunatly I can't find an unprotected (and legal) version of it, so you have to figure out by your own how to get the unprotected map.
 
Level 2
Joined
Sep 22, 2007
Messages
19
Based on which spell are you using it then?

It might sound stupid, but maybe the ship is trying to load itself?
yes i was thinking that too. i couldnt find solution how to make it not pick trigged unit itself
 
Level 2
Joined
Sep 22, 2007
Messages
19
still doesnt work. my trigger is:

autoload
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Quick Load
Actions
Unit Group - Pick every unit in (Units within 512.00 of (Position of (Triggering unit)) matching ((Matching unit) Not equal to (Transporting unit))) and do (Actions)
Loop - Actions
Unit - Order (Matching unit) to Load (Triggering unit)


it still makes ship disappear when ability is cast. im so bad at triggering :(
 
Level 4
Joined
Jan 24, 2009
Messages
124
Fix

Errorz Gonna Fix this... GUI style
  • AUTOLOAD
    • Events
      • Time - every (YOUR SECOND OF GAME HERE!(Recommend 0.02 - 0.50) seconds of game time
    • Actions
      • Unit Group - Pick every unit in (Units within *YOUR RANGE HERE* of (Position of units of type (Human Transport Ship) and do (Unit - Order Units of type (Human Transport Ship) to Load (Picked units))
+REP cuz that was hard ok?
 
Level 20
Joined
Jan 6, 2008
Messages
2,627
Errorz Gonna Fix this... GUI style
  • AUTOLOAD
    • Events
      • Time - every (YOUR SECOND OF GAME HERE!(Recommend 0.02 - 0.50) seconds of game time
    • Actions
      • Unit Group - Pick every unit in (Units within *YOUR RANGE HERE* of (Position of units of type (Human Transport Ship) and do (Unit - Order Units of type (Human Transport Ship) to Load (Picked units))
+REP cuz that was hard ok?

He made it like a spell, not making it load evry unit evry time
 
Level 4
Joined
Jan 24, 2009
Messages
124
man LOAD is a ABILITY (Ability=all the time like:Auras...)
So this isn' t a spell (Spell=Only when there is something hapening ....like:eek:nly then when You select your DESTENATION((Event)) it WILL TELEPORT((Action))
!!!This is a ABILITY!!! :D
 
Level 19
Joined
Nov 16, 2006
Messages
2,165
Obvious you can't read errorz, he litarly said : "He made it like a spell".

Made it LIKE a spell, and thus it is based on such casting system.
Abilities and spells are the same thing, they need to be casted and triggers detect each of them in the same way.

Sadame, how far are you with this ?
 
Status
Not open for further replies.
Top