 
General Info
Main Page
Latest News
Schedule
What is it?
About Matt
About This Site
Duke Enhancements
Latest Features
Older Features
Cheat Codes
Duke Insider
Language Basics
Compile Time
Room over Room
Player Structures
UserDef Explanations
More Information
Features Database
E Duke Forum
WW2GI Enhancements
Variables
Weapon Changes
Weapon Settings
System Variables
Events
All
|

Enhanced Duke Nukem Ideas
Copyright (C) 2000, Matt Saettler. All Rights Reserved.
Criteria:
|
| IdeaID is 132 |
| No Sorting |
Ranking |
Name |
Thinker |
555 |
'Always' Code |
CONAN |
Difficulty Not Set by Matt |
Description |
Could you also add global code? Sometimes, I want certain things to always be going on in the background, but I have to use a sprite to do
it. Like setting the wind direction. I could put it in the player code, but that would get confusing. Maybe:
globalcode {
stuff to do
} endglobal
would define what the global actions would be, what would always be happening. |
Matt's Comments |
It won't be 'always', of course, but maybe 'per-frame'.
This kind of thing is needed to provide actor AI anyway. So this idea comes down to just asking for per-frame code that's not attached to any player or sprite.
But I'm not sure what 'extra' use that actually is.. |
|