Sacrifical Pit.......2nd unit

blurished

Active Member
Reaction score
1
i manage to make sacrificial pit to summon units i want
trigger=start ability, trained unit= shade, replace with watever
but how do you make the same building to be able to accept 2 different input n produce two different output?

i cant do JASS so trigger pls
if u insist on JASS theres gonna be lots of question from my side:D

thx in advance
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
2 different units go in 2 different units come out depending on what goes in.
 

blurished

Active Member
Reaction score
1
sry my bad
*addition
lets say i want my sacrificial pit (same building) to be able to take a footman which comes out as a knight and a ghoul which comes out as an abomination
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
Trigger:
  • Melee Initialization
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Sleep10
    • Actions
      • Set TempPoint = (Position of (Triggering unit))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Target unit of ability being cast)) Equal to Footman
        • Then - Actions
          • Unit - Remove (Target unit of ability being cast) from the game
          • Unit - Create 1 Knight for (Owner of (Target unit of ability being cast)) at TempPoint facing Default building facing degrees
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Target unit of ability being cast)) Equal to Ghoul
        • Then - Actions
          • Unit - Remove (Target unit of ability being cast) from the game
          • Unit - Create 1 Abomination for (Owner of (Target unit of ability being cast)) at TempPoint facing Default building facing degrees
        • Else - Actions
          • Game - Display to (Player group((Owner of (Target unit of ability being cast)))) the text: Incorrect Target!!
      • Custom script: call RemoveLocation(udg_TempPoint)

Sleep10 = Your ability
Try something like that
 

Jedi

New Member
Reaction score
63
I tried to do something, but it isn't MUI since there isn't an event response - training unit.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top