prismpirate
New Member
- Reaction score
- 2
Could anyone instruct me on how to use Cohadar's unit state system? I have:
The readme now says that I can change the unit stat by doing, for example. I don't read vJass or Jass, so the test map isn't any help.:
By this, does the author mean I use the GUI function: Set Variable = Value. If so:
If Bonus_Life isn't an array, then could anyone who has used the system guide me on how to implement this system?
- Copied the trigger
- Imported the plugins
The readme now says that I can change the unit stat by doing, for example. I don't read vJass or Jass, so the test map isn't any help.:
Code:
set Bonus_Life[whichUnit] = 4
By this, does the author mean I use the GUI function: Set Variable = Value. If so:
- What kind of array is Bonus_Life?
- How do I obtain an integer index from whichUnit?
If Bonus_Life isn't an array, then could anyone who has used the system guide me on how to implement this system?