View Single Post
  #8  
Old 05-05-2007, 03:14 AM
killerogue killerogue is offline
Registered Omega
killerogue's Avatar
Join Date: Apr 2006
Location: United States
Posts: 1,920
killerogue is on a distinguished road
Send a message via AIM to killerogue Send a message via MSN to killerogue
Quote:
Originally Posted by cbkbud View Post
killerouge, I never quite understood what enum did, and what it can be used for. Care to explain?
It's almost like an array, but I tend to call it an object moreso because it can be used like this:

PHP Code:
function onCreated()
{
  
enum people {
    
Chris,
    
Ziro,
    
Stan
  
}

  if ( 
player.headimg == "head105.png" )
  {
    
temp.person people.Chris;
  }

Quote:
Originally Posted by theHAWKER View Post
whats the point of putting this here unless u want people to use it?
You have no clue how much I was waiting for you to post something this idiotic.

In my post I clearly stated it was free to use when I had finished the actual product. I put it here so that people like you may learn from it and also to get some constructive criticism from people who can actually script.
__________________


REMEMBER, IF YOU REP ME, LEAVE A NAME!

Quote:
Originally Posted by haunter View Post
Graal admins don't die. They go to hell and regroup.
Quote:
Originally Posted by Inverness View Post
Without scripters, your graphics and levels wouldn't do anything but sit there and look pretty.
Reply With Quote