- Joined
- Aug 15, 2012
- Messages
- 318
fixed everything thanks to everyone that helped me
Hey I have an update I have a trigger Forgotten Forest that I am too nooby to figure out the issue if someone can give me a nudge in the right direction I would appreciate it.
I understand its undeclared but how would I declare it heres a picture of the error I get.

JASS:
function Trig_Entering_Forest_Actions takes nothing returns nothing
if IsUnitType(GetTriggerUnit(), UNIT_TYPE_HERO) == true then
// create entering area text
call Entering_Area_CreateText("The Forgotten Forest", gg_rtc_Forgotten_Forest)
endif
endfunction
function Entering_Area_CreateText takes string name, rect area returns nothing
// a local to store the text tag
local texttag tt = CreateTextTag()
local location Pt = gg_rtc_Forgotten_Forest()
// configure the text tag
call SetTextTagText(tt, name, TextTagSize2Height(15.0))
call SetTextTagPos(tt, GetRectCenterX(gg_rtc_Forgotten_Forest), GetRectCenterY(gg_rtc_Forgotten_Forest), 0.0)
call SetTextTagColor(tt, 255, 255, 255, 51)
call SetTextTagLifespan(tt, 3)
call SetTextTagFadepoint(tt, 2.5)
call SetTextTagPermanent(tt, false)
call SetTextTagAge(tt, 0)
call SetTextTagVisibility(tt, true)
// local declared local handle bugfix
set tt = null
set Pt = null
endfunction
Last edited by a moderator: