Problem with Trigger (Setting a bought unit)

IceWarrior98

New Member
Reaction score
12
As the title says, i'm having trouble setting a unit that I buy from a shop to a variable, which is very important it does so due to how the game functions. This is my current code.

Code:
New Ship
    Events
        Unit - A unit Sells a unit
    Conditions
    Actions
        Set Ship[(Player number of (Owner of (Sold unit)))] = Ship[(Player number of (Owner of (Sold unit)))]

I need this to work for my fuel consumption trigger to work properly. For testing purposes I am using a chat command to set the ship manually, but I need it to be automatic.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top