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:Garthor [Posts]
Date:11/5/09 5:31 pm
Topic:Re: Useage of if() proc
Post ID:725915
Parent ID:725911
Next ID:725929
In this case:

healthbar.icon_state = "[round(health-5, 10)/10]"

health-5 is used so that it rounds down, by the way.

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)