Jump to content


Photo

How to freeze the execution of events temporarily?


  • Please log in to reply
2 replies to this topic

#1 XD005

XD005

    Daxter (For PSP) Fan

  • New Member
  • 1257 posts

Posted 24 January 2012 - 09:24 AM

I want to freeze the queue of events so I can make a textbox object come up and then un-freeze once the object is destroyed. Kind of like the way GameGuy's Textbox system works. I want to be able to call the script in rapid succession and have textboxes be created one after the other. The textbox is animated so I currently have it set as a separate object. The textbox simply gets passed some arguments from the script for the body of the text and the script creates the object. I have tried deactivating all objects but the textbox but that doesn't work in succession and will even somehow get executed out-of-order.

Edited by XD005, 24 January 2012 - 09:25 AM.

  • 0

#2 Big J

Big J

    GMC Member

  • GMC Member
  • 2818 posts
  • Version:GM8.1

Posted 24 January 2012 - 09:36 AM

Either use a loop to display the text box or deactivate all other instances while displaying it.
  • 0

#3 XD005

XD005

    Daxter (For PSP) Fan

  • New Member
  • 1257 posts

Posted 24 January 2012 - 09:46 AM

Either use a loop to display the text box or deactivate all other instances while displaying it.


I've tried deactivating. Text boxes are created in the wrong order. I want to be able to create them in succession.

Edited by XD005, 24 January 2012 - 09:47 AM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users