Can anyone give me a nice snippit of code for iterating through a player group, so that I can use locals and everything, and don't have to use ForForceBJ?
localintegerindex = 0localplayerplocalforcef//your player grouploopexitwhenindex > 15setp = Player ( index )
ifIsPlayerInForce ( p , f ) then//do your stuff hereelse// else actionsendifsetindex = index + 1endloop
Thanks Vex. You made me feel dumb for not thinking of something so simple. Anyway, is there a point to the u variable? I don't see it referenced anywhere.
EDIT: haha. Basically the exact same code. :D Thanks to you too, Nantuko.
btw I write that we got a replacement AbilityId2String() ,with GetObjectName ( blah ) we can get the internal name of a spell , buff , or any object editor stuff. Thing that AbilityId2String() never did. :p