okay, the assistance system works perfectly, but, it only works for pre-placed heroes, meaning heroes in the map initially, not created by triggers or buildings.. so.. he suggested that we register the unit by doing this
i tried doing so, by registering a sold unit when bought..
and once i save, an error message comes out saying "expected a function name"
EDIT:
THREAD CLOSED, i figured it out
Trigger:
- Custom Script: call AssistanceSystem_Register(unit)
i tried doing so, by registering a sold unit when bought..
Trigger:
- Hero Select
- Events
- Unit - A unit Sells a unit
- Conditions
- Actions
- Custom script: call AssistanceSystem_Register (GetSoldUnit())
- Events
and once i save, an error message comes out saying "expected a function name"
EDIT:
THREAD CLOSED, i figured it out