CG Technical Area > Programming

Learn To Script Lua

<< < (2/4) > >>

Ducky:

--- Quote from: WholeGrain on November 27, 2010, 03:17:56 PM ---im going to attempt to learn basic lua coding and then try to advance my skills to the point i can actually help keep the ttt server run more fluently and rely more on myself then on others

--- End quote ---

Thats awesome, I highly suggest it.

AlphaWeeaboo:

--- Quote from: Molested Rubber Ducky on November 27, 2010, 03:20:15 PM ---
--- Quote from: Travis on November 27, 2010, 03:16:15 PM ---
--- Quote from: Molested Rubber Ducky on November 27, 2010, 07:59:27 AM ---Make zombie NPCs spawn at random locations on a map, and not get stuck in walls.

--- End quote ---


Lulz.

--- End quote ---

I was hoping someone would catch on to that.

--- End quote ---
I was going to say the same thing!
But anyways I'll have to try this out. I've always been interested in learning some coding.

Travis:

--- Quote from: Dark Emo on November 27, 2010, 03:22:53 PM ---
--- Quote from: Molested Rubber Ducky on November 27, 2010, 03:20:15 PM ---
--- Quote from: Travis on November 27, 2010, 03:16:15 PM ---
--- Quote from: Molested Rubber Ducky on November 27, 2010, 07:59:27 AM ---Make zombie NPCs spawn at random locations on a map, and not get stuck in walls.

--- End quote ---


Lulz.

--- End quote ---

I was hoping someone would catch on to that.

--- End quote ---
I was going to say the same thing!
But anyways I'll have to try this out. I've always been interested in learning some coding.

--- End quote ---
These are pretty good websites and if you need help just ask Ducky about it.

Ducky:

--- Quote from: Travis on November 27, 2010, 03:30:59 PM ---
--- Quote from: Dark Emo on November 27, 2010, 03:22:53 PM ---
--- Quote from: Molested Rubber Ducky on November 27, 2010, 03:20:15 PM ---
--- Quote from: Travis on November 27, 2010, 03:16:15 PM ---
--- Quote from: Molested Rubber Ducky on November 27, 2010, 07:59:27 AM ---Make zombie NPCs spawn at random locations on a map, and not get stuck in walls.

--- End quote ---


Lulz.

--- End quote ---

I was hoping someone would catch on to that.

--- End quote ---
I was going to say the same thing!
But anyways I'll have to try this out. I've always been interested in learning some coding.

--- End quote ---
These are pretty good websites and if you need help just ask Ducky about it.

--- End quote ---

Please do, I am here to help.

Travis:
When I do

loop=10
for i=1,loop do
    Msg("This person was number "..i.." out of "..Loop.."  people.")
end

I get:

attempt to concatenate global 'Loop' (a nil value)

Edit: I see what I did wrong

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version