How properly count/use cycles of ent think
This is my maybe third try to use entity think
it works I just want to know how to count each think and do something in it in correct way PHP Code:
|
Re: How properly count/use cycles of ent think
This may be stupid, to do something different on each think. This sound like an XY problem, you should explain what are you trying to do. You can increase the wtf variable and create a switch, but this is still a bad way. Again, explain what are you actually trying to do.
|
Re: How properly count/use cycles of ent think
PHP Code:
|
Re: How properly count/use cycles of ent think
I want to check ent state if its == 3 return it to base
PHP Code:
|
Re: How properly count/use cycles of ent think
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.
|
Re: How properly count/use cycles of ent think
Well, if you really need to count cycles, I would prefer static local variable to do so.
But, however, I agree with Nextra - you should provide more information of what you are trying to achieve. |
Re: How properly count/use cycles of ent think
PHP Code:
|
Re: How properly count/use cycles of ent think
I can't get a word from what you say. What do you mean "after needed state (3)", "delay NOW"? What these references are?
|
Re: How properly count/use cycles of ent think
Just tell what you want to do, because I cant understand what you want.
|
| All times are GMT -4. The time now is 17:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.