From: Bebe
what are you entering into the skills variant variable?
And does your script run or just stop at the very beginning?
Ps. whoever wrote this function doesn't know that variants are extremely slow in pascal compared to other data types + they are considered bad programming practice and to be "dirty" in pascal based programming.
I'm not putting directly into those parameters… it's all SRL side and anything that uses that function within SRL is causing a runtime error thus stopping the script unexpectedly, and there's nothing wrong with variants they are used left and right all over the place 'WriteLn', 'Compass' and they are very handy all the time when using functions that need dynamic information based on location/conditions ect….. and if there was it's not like it's being looped a thousand times -.-
I had to revert back 3 revisions to SRL 352… why is SCAR's SRL being messed with to work with simba? That should be a completely separate SVN imo.
Btw: In SRL 355 it's trying to search for a LampDTM with a bitmap handle… thats gonna crash my script as well, someone please change that in Globals.scar