Index · Preferences · Help
Announcements · BYOND Features · Bug Reports · Fixes and Features · Developer How-To · Code Problems · Design Philosophy · Creations · Classified Ads · Gaming · Computers & Technology · Community
Forum Search:

[Advanced Search]

[Messages in this Thread] [Show All (17)] [Return to Design Philosophy]

Author:Ant305 [Posts]
Date:11/5/09 4:36 pm
Topic:Re: Useage of if() proc
Post ID:725902
Parent ID:725893
Next ID:725905
Ya jeff, that's exactly what i meant. I've been seeing that im making those huge chains, when again as i stated above im pretty sure there's a simpler way...It's probably best if i or someone provided an example.

Example:
Random code...
mob/verb/ActivatePowers()
   if(usr.doing)
        return
   if(usr.frozen)
        return
    else
       if(usr.hasCT =1)//Random var
                //im not feeling very creative right 
                //feel free to add something, to demonstrate stuff.
            
 

Messages in this Thread: [Show All (17)]

  Useage of if() proc Ant305 (11/5/09 1:33 pm)
      Re: Useage of if() proc Magicsofa (11/17/09 12:24 pm)
          Re: Useage of if() proc Garthor (11/17/09 12:29 pm)
      Re: Useage of if() proc Rushnut (11/5/09 2:46 pm)
      Re: Useage of if() proc Jeff8500 (11/5/09 2:00 pm)
          Re: Useage of if() proc Garthor (11/5/09 4:52 pm)
              Re: Useage of if() proc Ant305 (11/5/09 5:16 pm)
                  Re: Useage of if() proc Garthor (11/5/09 5:31 pm)
                      Re: Useage of if() proc Popisfizzy (11/5/09 8:45 pm)
                          Re: Useage of if() proc Garthor (11/5/09 9:01 pm)
                      Re: Useage of if() proc Ant305 (11/5/09 8:01 pm)
          Re: Useage of if() proc Stephen001 (11/5/09 2:10 pm)
              Re: Useage of if() proc Jeff8500 (11/5/09 2:33 pm)
                  Re: Useage of if() proc Ant305 (11/5/09 4:36 pm)
                      Re: Useage of if() proc Garthor (11/5/09 4:50 pm)
      Re: Useage of if() proc ArcaneDragonX (11/5/09 1:47 pm)
      Re: Useage of if() proc Garthor (11/5/09 1:37 pm)