• 🏆 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!

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