- Joined
- Dec 18, 2008
- Messages
- 400
Hello
I've a trigger i made in GUI and converted it to JASS, because i wanted to have local variable and make i MUI, but i have some problem with the code
Here's the part of my code that i cant get to work with local variables:
My problem is that i dont know what the code statement is called, could someone help me out
Btw how can i add wait time (say i want to wait 5 and the destroy last created special effect) if i want this to be MUI?
I've a trigger i made in GUI and converted it to JASS, because i wanted to have local variable and make i MUI, but i have some problem with the code

Here's the part of my code that i cant get to work with local variables:
JASS:
set udg_Oo_Terrain = GetTerrainTypeBJ(GetRectCenter(RectFromCenterSizeBJ(Location(udg_Oo_pX, udg_Oo_pY), udg_Oo_Area, udg_Oo_Area)))
set udg_Oo_Lvl = I2R(GetUnitAbilityLevelSwapped(GetSpellAbilityId(), udg_Oo_Caster))
set udg_Oo_Area = ( 100.00 * udg_Oo_Lvl )
set udg_Oo_Copy_str = I2R(GetHeroStatBJ(bj_HEROSTAT_STR, udg_Oo_Caster, true))
set udg_Oo_effect = GetLastCreatedEffectBJ()
My problem is that i dont know what the code statement is called, could someone help me out
Btw how can i add wait time (say i want to wait 5 and the destroy last created special effect) if i want this to be MUI?