• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Help! Unit dosent work

Status
Not open for further replies.
Level 5
Joined
Jul 17, 2006
Messages
145
alright, the unit you see here
help_sc.png

SHOULD sell those two units, but it dosent. When i play the game there are blank spaces where those two things should be.
help_sc2.png


EDIT:lol, never mind

Ediit:For some reason, this trigger dosent work:
  • Captian Select P3
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • (Owner of (Sold unit)) Equal to Player 3 (Teal)
    • Actions
      • If ((Unit-type of (Sold unit)) Equal to Captian Rodger) then do (Set CaptianRodgerP03 = True) else do (Do nothing)
      • If ((Unit-type of (Sold unit)) Equal to Captian Will) then do (Set CaptianRodgerP03 = True) else do (Do nothing)
it dosent change the variable like it should.....
 
Last edited by a moderator:
Level 5
Joined
Jul 17, 2006
Messages
145
mmmm, its proably a difrent trigger that provents it or somthing, but i dont know.....

Heres a list of all the triggers relating to it, and iv changed this trigger - in other words, this should work all by itself

EDIT:Instead of looking through the prevous trigger that was here, iv narrowed it down to the problem.

Is there any reason why this trigger shouldent work?


  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • Captian[(Player number of (Owner of (Sold unit)))] Equal to Captian Rodger
    • Then - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Unit-type of (Sold unit)) Equal to Battle Ship
              • (Unit-type of (Sold unit)) Equal to Trade Boat
        • Then - Actions
          • Unit - Add Captian Rodgers Fuel (Ability Lv1) to (Sold unit)
          • Unit - Add Captian Rodgers Influence (Buff Lv1) to (Sold unit)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Unit-type of (Sold unit)) Equal to Battle Ship
              • (Unit-type of (Sold unit)) Equal to Battle Ship
        • Then - Actions
          • Unit - Add Captian Rodgers Fuel (Ability Lv2) to (Sold unit)
          • Unit - Add Captian Rodgers Influence (Buff Lv2) to (Sold unit)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Unit-type of (Sold unit)) Equal to Cruiser
              • (Unit-type of (Sold unit)) Equal to Cruiser
        • Then - Actions
          • Unit - Add Captian Rodgers Fuel (Ability Lv3) to (Sold unit)
          • Unit - Add Captian Rodgers Influence (Buff Lv3) to (Sold unit)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Unit-type of (Sold unit)) Equal to Cruiser
              • (Unit-type of (Sold unit)) Equal to Cruiser
        • Then - Actions
          • Unit - Add Captian Rodgers Fuel (Ability Lv4) to (Sold unit)
          • Unit - Add Captian Rodgers Influence (Buff Lv4) to (Sold unit)
        • Else - Actions
    • Else - Actions
 
Last edited by a moderator:
Level 5
Joined
Jul 17, 2006
Messages
145
no, im using skeds map and he has like 4 difrent units named the same thing :/

it dosent matter anymore though, becuase it works now.

You can download it here : Crazy8.dyndns.info:81/battleships/

also, check for updates, as i will update this map when i can (version 1.01 is almost out, and im gonna fix some of the bugs from v 1.0)
 
Status
Not open for further replies.
Top