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.
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.
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.