Urban Wars
September 14, 2024, 12:18:02 am
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
Forever
Login with username, password and session length
News
: Welcome, here you will find all the information on Urban Wars
Home
Help
Search
Staff List
Login
Register
Randomly spawning a different sprite
Urban Wars
>
Forum
>
Help
>
Programming/Coding
>
Randomly spawning a different sprite
>
Message #284
Pages:
1
[
2
]
« previous
next »
Print
Author
Topic: Randomly spawning a different sprite (Read 959 times)
DukeInstinct
Administrator
Lieutenant
Posts: 120
The ArchDuke
Re: Randomly spawning a different sprite
«
Reply #15
on:
April 26, 2010, 10:01:58 pm »
time is the amount of seconds that has elapsed since the game began.
If you just put nextthink=5; then that would mean 5 seconds after the game began. You'd most likely be past that time every call to that function so your think function would never be triggered. However, if you put nextthink=time+5; then that would mean 5 seconds after you assigned nextthink.
Report Spam
Logged
Urban Wars Coder/3d Modeler/Animator
Pages:
1
[
2
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Urban Wars
-----------------------------
=> Urban Wars Suggestions
=> Urban Wars Updates
=> Urban Wars Discussion
=> Apply for the Team
-----------------------------
Off Topic
-----------------------------
=> General Discussion
-----------------------------
Rules
-----------------------------
=> The Rules
-----------------------------
Help
-----------------------------
=> Programming/Coding
=> Mapping
=> 3d modeling
Get your own Chat Box!
Go Large!
Loading...