Raised This Month: $ Target: $400
 0% 

Can't get a set_task to repeat/loop


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Trp. Jed
Member
Join Date: Aug 2004
Old 09-14-2004 , 21:36  
Reply With Quote #3

Its a bit of a shambles at the moment so I'll do it as psuedo-code:

Code:
public this_first (id) {

   <execute this_second every 0.5 seconds for 10 seconds>
   <execute this_third after the above is complete>
}

public this_second (id) {
}

public this_third (id) {
}
Thats basically what I want to do without hanging up Half-Life. I tried using get_gametime() but it seemed to get stuck in a loop and crashed.

I need a friendly way to repeatedly execute this_second as stated above.
Trp. Jed is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode