| 10-11-2008, 09:38 PM | #1 |
Why is the map creating all these InitTrig functions which I don't have and giving me an error saying it cant find function Init? It highlights one of these, but I'm not using InitTrig? JASS:function InitCustomTriggers takes nothing returns nothing call InitTrig_ABCT( ) call InitTrig_ABC( ) call InitTrig_TT( ) call InitTrig_Recycler( ) call InitTrig_SimError( ) call InitTrig_Dialogs( ) call InitTrig_Range( ) call InitTrig_TimerUtils( ) call InitTrig_BoundSentinel( ) call InitTrig_My( ) call InitTrig_Snippets( ) call InitTrig_Start( ) call InitTrig_Multiboard( ) call InitTrig_Clear( ) call InitTrig_Leaver( ) call InitTrig_Upgrades( ) call InitTrig_Defeat( ) call InitTrig_HR( ) call InitTrig_GiveUnit( ) call InitTrig_UnitCount( ) call InitTrig_Ping( ) call InitTrig_Mass( ) call InitTrig_LastResort( ) call InitTrig_Searinet( ) call InitTrig_WarStomp( ) call InitTrig_Detonate( ) call InitTrig_GGRocket( ) call InitTrig_GGRocketPing( ) call InitTrig_Give( ) call InitTrig_Son( ) call InitTrig_Soff( ) call InitTrig_Protect( ) call InitTrig_Super( ) call InitTrig_Revive( ) call InitTrig_LinearBlizzard( ) call InitTrig_DeathWave( ) call InitTrig_StrenuousMovement( ) call InitTrig_Banishment( ) call InitTrig_Fireball( ) call InitTrig_PitAid( ) call InitTrig_PitMonstrosity( ) call InitTrig_Alchemy( ) endfunction |
| 10-11-2008, 10:03 PM | #2 |
highlights? Consider these things an old memory from a less civilized time. |
| 10-11-2008, 11:33 PM | #3 |
if you have scope A initializer Init, and you dont put the function Init in that scope, then it will give you that error(same for libs) |
| 10-12-2008, 03:46 PM | #4 |
And you're appending the scope name to the end, not the beginning. But really, why the hell would you do it this way? |
| 10-12-2008, 07:17 PM | #5 |
Problem solved. I forgot to close one of my structs and it got me that error. >< |
