-
Posts
559 -
Joined
-
Last visited
DarthStoney's Achievements
Newbie (1/14)
10
Reputation
Single Status Update
See all updates by DarthStoney
-
Hey,
Got a question,
This script causes the game to freeze but in a way that i can still move camera but can't move or click, i believe that the script is giving me infinity which basically does this.
Script:
void main() {
object oDestroy = GetFirstItemInInventory( GetFirstPC() );
while( GetIsObjectValid( oDestroy ) ) {
if( GetTag( oDestroy ) == "bomablood" )
DestroyObject( oDestroy, 0.00, FALSE, 0.00 );
oDestroy = GetNextItemInInventory( GetFirstPC() );
object oItem=CreateItemOnObject( "bomastim", GetFirstPC(),1,0);
}
}
What do you see that needs to be fixed?
Thanks