GetScriptVar Not working on this script

Started by piggood, August 08, 2019, 08:24:20 PM

Previous topic - Next topic

piggood

I was making a script that uses variable from another script in the same Crplcore
it didn't work so i tried to debug and used trace and it only traced -1 it was supposed to trace 1.
Self "Emiter.crpl" "thing" GetUnitAttribute trace
showtracelog

Builder17

You had wrong command, fixed it for you.

Self "Emiter.crpl" "thing" GetScriptVar trace
showtracelog


piggood

Quote from: Builder17 on August 09, 2019, 06:02:20 AM
You had wrong command, fixed it for you.

Self "Emiter.crpl" "thing" GetScriptVar trace
showtracelog

HOW did i not see that.... THANKS