Jump to content

Home

DarthStoney

Members
  • Posts

    559
  • Joined

  • Last visited

Personal Information

  • Web Browser
    IE8
  • Resolution
    1024x768

Contact Information

  • Homepage
    http://www.createforum.com/tslrcm/

DarthStoney's Achievements

Newbie

Newbie (1/14)

10

Reputation

Single Status Update

See all updates by DarthStoney

  1. 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

×
×
  • Create New...