Raised This Month: $ Target: $400
 0% 

How properly count/use cycles of ent think


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
avril-lavigne
Banned
Join Date: Apr 2009
Old 10-24-2014 , 19:23   Re: How properly count/use cycles of ent think
Reply With Quote #1

I want to check ent state if its == 3 return it to base

PHP Code:


    set_pev
(ent,pev_nextthinkget_gametime() + 25.0 //  will this count 25 sec only on NEXT think not now?   
    
set_pev(ent,pev_originbase
so it moves ent immediately. I need 30sec delay ... thats why I tried wtf 5sec* 5 cycles
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 10-24-2014 , 22:10   Re: How properly count/use cycles of ent think
Reply With Quote #2

Without more detail this looks like it would be way better suited for a task. Also why do you want to have 5 steps of 5 seconds instead of just one of 25? Please tell us what you actually want to achieve.
__________________
In Flames we trust!
Nextra is offline
Reply



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:38.


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