SRL Archive - Reflection Help

Does reflection ground items work?


Troll

2010-10-19 12:17:22

Like the title says?

Thanks

Cstrike

2010-10-19 12:37:10

Yes :)

Though when you declare a grounditem array, at the end of the script you need to declare the array as empty

I'm going to attempt to add more to my guide over the next few days and finish it off, to give you an example:

GIA : TGroundItemArray;
// Do find ground item code here
// Do stuff with that code
GIA := []; // ALWAYS clear it, or else it gets bugged
// Finish rest of script
Was fixed recently but not perfectly operational yet… nonetheless Im still ecstatic that it works now :D

Troll

2010-10-19 12:47:51

ok thanks