Thread: [508] explain pl0x?

Results 1 to 4 of 4
  1. #1 [508] explain pl0x? 
    ★☆♥♣♥☆★

    EndlessZombies's Avatar
    Join Date
    Aug 2008
    Age
    31
    Posts
    440
    Thanks given
    30
    Thanks received
    4
    Rep Power
    125
    i was looking through my specs on npc, and i found
    Code:
    n.appendHit(Misc.random(40), 0);

    was hopign for a quick explanation, does this mean the max hit is a 40, but it randomizes between 0-40?

    "Snapback with my city on it, text back with yo titties on it, levi's with yo kitty on it"


    Reply With Quote  
     

  2. #2  
    Codex
    Rowan's Avatar
    Join Date
    Sep 2008
    Age
    28
    Posts
    1,593
    Thanks given
    0
    Thanks received
    20
    Rep Power
    1092
    n.appendHit(Misc.random(40), 0);
    n = npc
    appendhit = doing 2 hits
    misc random = something between 0 and "input of number"
    0 is use of the int or use of the void or whatever

    it means it's max hit is 2x 40 so that'd be 80, but it randomizes so the change is very low that it will ever hit 40-40
    Reply With Quote  
     

  3. #3  
    That universal language.
    'Ramon's Avatar
    Join Date
    Nov 2008
    Age
    29
    Posts
    3,026
    Thanks given
    116
    Thanks received
    86
    Rep Power
    3165
    Itīs just a hit between 0-40


    Reply With Quote  
     

  4. #4  
    ★☆♥♣♥☆★

    EndlessZombies's Avatar
    Join Date
    Aug 2008
    Age
    31
    Posts
    440
    Thanks given
    30
    Thanks received
    4
    Rep Power
    125
    ok thanks guys

    "Snapback with my city on it, text back with yo titties on it, levi's with yo kitty on it"


    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •