if(src.Techniques.Find("Cyclone",Start=1,End=0))
I think I am getting an error here when I run the game. Its not a DM error, but a runtime error.
Is there anything wrong with that?
Also, how do I check the length of a list?
ID:269251
![]() Apr 28 2005, 7:38 pm
|
|
if(src.Techniques.Find("Cyclone",Start=1,End=0)) I think I am getting an error here when I run the game. Its not a DM error, but a runtime error. Is there anything wrong with that? Also, how do I check the length of a list? |
length(Techniques) and Techniques.len both give the length of Techniques. length() is safer to use as whatever list you're checking doesn't have to be initialized to anything to get a length. Techniques.len would give you an error if Techniques were null, but using length(Techniques) would not.