Fire-Wolf
S.P.D Smoke Pot Daily, Legalize It!
- Reaction score
- 54
Ok now I have three errors 2 syntax 1 undeclared variable.
1. Syntax: local location udg_CasPosOffset[0] = PolarProjectionBJ(udg_CasPos, 400.00, udg_Real)
2. Syntax: i = i + 1
3. Undeclared Variable: call IssuePointOrderLocBJ( GetLastCreatedUnit(), "flamestrike", udg_CasPosOffest )
I am getter more used to jass but I still dont know how to fix things like that all help would be nice and +rep to those who help.
1. Syntax: local location udg_CasPosOffset[0] = PolarProjectionBJ(udg_CasPos, 400.00, udg_Real)
2. Syntax: i = i + 1
3. Undeclared Variable: call IssuePointOrderLocBJ( GetLastCreatedUnit(), "flamestrike", udg_CasPosOffest )
JASS:
function Nova takes nothing returns nothing
local real udg_Real = 0.00
local unit udg_Caster = GetTriggerUnit()
local location udg_CasPos = GetUnitLoc(GetTriggerUnit())
local integer i = 0
local location udg_CasPosOffset[0] = PolarProjectionBJ(udg_CasPos, 400.00, udg_Real)
loop
exitwhen i == 8
i = i + 1
call CreateNUnitsAtLoc( 1, 039;h000039;, GetOwningPlayer(GetTriggerUnit()), udg_CasPos, bj_UNIT_FACING )
call UnitAddAbility(GetLastCreatedUnit(), 039;AHfs039;)
call IssuePointOrderLocBJ( GetLastCreatedUnit(), "flamestrike", udg_CasPosOffest<i> )
call UnitApplyTimedLifeBJ( 10.00, 039;BTLF039;, GetLastCreatedUnit() )
endloop
endfunction</i>
I am getter more used to jass but I still dont know how to fix things like that all help would be nice and +rep to those who help.