Bunker System For WC3

sunshinex3

You can change this now in User CP.
I am trying to create an actual bunker system for wc3

I've run in to a problem and now know the specifics.

I've tried 2 methods both using dummy units

I've tried putting the dummy unit inside the bunker but wasn't sure if i could get the sizing right when i pulled him out still maybe also giving 'Aloc' to loading unit didn't seem to work properly just made it invincible didn't make it unselectable or remove pathing.
Trigger:
  • Custom script: call UnitAddAbility( GetLoadedUnit(), 'Aloc' )

This didn't work as intended so did it differently.

I've decided that putting the dummy on the out side works best because I'm giving it 'Aloc' the locust ability to get to the center of the bunker and it works properly with LastCreatedUnit.
Trigger:
  • Custom script: call UnitAddAbilityBJ( 'Aloc', GetLastCreatedUnit() )



but i have a problem how do I select this Dummy unit(with Locust) upon unload? to remove the Dummy unit...

any one have an idea?

This is the Load Trigger:

Trigger:
  • Bunker Load
    • Events
      • Unit - A unit Is loaded into a transport
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • (Unit-type of (Transporting unit)) Equal to Bunker (dark iorn)
          • ((Loading unit) is A ranged attacker) Equal to True
    • Actions
      • Set VariableSet TempPoint = (Position of (Transporting unit))
      • Unit - Create 1 (Unit-type of (Loading unit)) for (Owner of (Loading unit)) at TempPoint facing Default building facing degrees
      • Unit Group - Add (Last created unit) to BunkersUnitGroup
      • Unit - Set Unit: (Last created unit)'s Real Field: Scaling Value ('usca') to Value: 0.10
      • Unit - Set Unit: (Last created unit)'s Real Field: Speed ('umvc') to Value: 0.00
      • Animation - Change (Last created unit)'s size to (1.00%, 1.00%, 1.00%) of its original size
      • Custom script: call UnitAddAbilityBJ( 'Aloc', GetLastCreatedUnit() )
      • Unit - Move (Last created unit) instantly to TempPoint
      • Custom script: call UnitRemoveAbility(GetLastCreatedUnit(), 'Amov')
      • Custom script: call RemoveLocation (udg_TempPoint)


This is the Unload Trigger:


Trigger:
  • Bunker Unload
    • Events
      • Unit - A unit Is issued an order targeting an object
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • (Issued order) Equal to (Order(unload))
          • (Unit-type of (Ordered unit)) Equal to Bunker (dark iorn)
          • ((Target unit of issued order) is A ranged attacker) Equal to True
    • Actions
      • Set VariableSet TempPoint2 = (Position of (Ordered unit))
      • Unit Group - Pick every unit in (Random 1 units from (Units within 100.00 of TempPoint2 matching (((Level of MM Bunker Dummy Ability (All Dummy units) for (Matching unit)) Equal to 1) and ((Unit-type of (Matching unit)) Equal to (Unit-type of (Target unit of issued order)))).)) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Target unit of issued order) is A Hero) Equal to True
            • Then - Actions
              • Unit - Remove (Picked unit) from the game
            • Else - Actions
              • Do nothing
      • Custom script: call RemoveLocation (udg_TempPoint2)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    oh shit Hatebreeder is on the site
  • Ghan Ghan:
    Site Log, 1/7/22: TH changed his avatar today. Speculation among the crew is that this heralds the end times are upon us. Only time will tell.
    +1
  • jonas jonas:
    TH changed profile pictures before no hasty conclusions
  • jonas jonas:
    didn't he used to have just TH in blue letters or something like that?
  • The Helper The Helper:
    I have had a number of different profile pics in the past - I just changed it to the NUON award pic because there is stuff going on with NUON right now hint hint
  • The Helper The Helper:
    plus I just added an Atari Jaguar forum lol maybe Ghan is right about the end times lol
  • The Helper The Helper:
    If I can get this NUON stuff going that is going to be good
  • The Helper The Helper:
    on a side note and totally out of nowhere I am buying a bass guitar and am going to try and learn it
    +1
  • The Helper The Helper:
    I am about to go to a friends house and dig his Atari Jaguar collection out of the attic and get it ready to sell
  • The Helper The Helper:
    and my friend is such a slacker he could only put his hands on the base jag and cd unit no wires, power supply or games they are still buried somewhere in the attic for another time.
  • The Helper The Helper:
    250 Members online and most of them looking at American Airlines below economy class post that I bumped the other day LOL
  • The Helper The Helper:
    actually 249 guest not members
  • Varine Varine:
    Is there even 250 members that have logged in in the last couple years? I feel like there's maybe 30 of us
  • The Helper The Helper:
    I am not tracking that stat but I would have to say probably not
  • tom_mai78101 tom_mai78101:
    Would like to get some annual forum statistics report.
  • The Helper The Helper:
    there are stats in the xenforo forum admin section and we have matomo stats we started collecting beginning of the year so we will not have annual on that until next year
  • The Helper The Helper:
    I thought you had keys to the bathroom Tom? Ghan does Tom have access to the stats thread in the bathroom
  • The Helper The Helper:
    since I started jacking with the bots on the site we doubled our page views on the site in a week lol
  • The Helper The Helper:
    I have been having lots of fun
  • The Helper The Helper:
    we have had like 6000 views of the American Airlines economy class thread in the last week
  • The Helper The Helper:
    I ought to stick a travel affiliate link or something on that page to try and monetize that they are just going there and leaving it might even be bots I am not sure
  • The Helper The Helper:
    I just got into it with the Atari VCS Facebook Moderator I started trolling him and almost got banned
  • The Helper The Helper:
    They deleted one of my posts one time so I was trolling him on a help post I put up because I am evil I guess and bored and the guy handled it well I loved his attitude Atari has a good social media presence even if they do not have many games.
  • The Helper The Helper:
    The French Atari they call them even though they are like totally based in America they just have French Money coming in. Gotta love it

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome
    Top