| 03-16-2005, 09:10 PM | #1 |
Guest | I am currently having difficulty implementing the Shield Template. I have all the other templates from that pack working, as well as the latest caster system, but I get 146 Compile Errors starting with "Expected a name" on line 4227, which is " local gamecache g=CasterSystemCache()" in the Shield Template Trigger. Everything else works great, and I only get the compile errors when I try and implement the Shield Template Trigger. Great work, simply amazing, I hope I can get this solved. Thanks. EDIT: I've gotten it to work by taking: function CasterSystemCache takes nothing returns gamecache return InitGameCache("castersystem.c") endfunction function RunSeparated takes code c returns nothing local trigger t=CreateTrigger() local triggeraction a=TriggerAddAction(t,c) call TriggerExecute(t) call DestroyTrigger(t) call TriggerRemoveAction(null,a) set a=null set t=null endfunction from the Template Systems Custom Script Section, as it was not present in either the latest Caster Systems Custom Script Section or in the trigger intended to be copied to the Custom Script System from the Teplate System. |
| 03-18-2005, 10:25 PM | #2 |
I think you have to use the latest version of the templates map |
| 03-19-2005, 02:16 AM | #3 | |
Guest | Quote:
I was using 3.5, is there a later version? |
| 04-02-2005, 02:50 PM | #4 |
Yes, there is a 3.6 version |
| 04-04-2005, 04:17 PM | #5 | |
Quote:
|
