more Local Variable troubles

Status
Not open for further replies.
Level 2
Joined
Aug 9, 2004
Messages
11
Code:
Floating Text - Create floating text that reads (String((Number of units in TempGroup))) above Satyr with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
        Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
        Custom script:   local texttag udg_LocalText
        Set LocalText = (Last created floating text)
        Custom script:   call DestroyGroup(udg_TempGroup)
        Wait 4.00 seconds
        Custom script:   call DestroyTextTag( udg_LocalText )

Obviously I've done something wrong here, but how do i find out, I've never gotten local variables to work, can anyone give me a detailed explaination?

I know it's in the declaration of the local (expected endif is the reson I get)

thanks.
 
Status
Not open for further replies.
Back
Top