View Single Post
  #12  
Old 09-22-2007, 10:41 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by Stefan View Post
Still seeing it as bad coding style.
The negatives you stated in first post are invalidated by using the Control-NPC for global functions only.

I don't see how its bad coding style to have a single additional location in the function-lookup process.

Local Object -> Control-NPC -> Static Globals

There is nothing confusing about that. It puts all the globals in one bag so you can't miss them.
__________________
Reply With Quote