0 Members and 1 Guest are viewing this topic.
Make zombie NPCs spawn at random locations on a map, and not get stuck in walls.
Quote from: Molested Rubber Ducky on November 27, 2010, 07:59:27 AMMake zombie NPCs spawn at random locations on a map, and not get stuck in walls.Lulz.
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
Quote from: Travis on November 27, 2010, 03:16:15 PMQuote from: Molested Rubber Ducky on November 27, 2010, 07:59:27 AMMake zombie NPCs spawn at random locations on a map, and not get stuck in walls.Lulz.I was hoping someone would catch on to that.
Quote from: Molested Rubber Ducky on November 27, 2010, 03:20:15 PMQuote from: Travis on November 27, 2010, 03:16:15 PMQuote from: Molested Rubber Ducky on November 27, 2010, 07:59:27 AMMake zombie NPCs spawn at random locations on a map, and not get stuck in walls.Lulz.I was hoping someone would catch on to that.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.
Quote from: Dark Emo on November 27, 2010, 03:22:53 PMQuote from: Molested Rubber Ducky on November 27, 2010, 03:20:15 PMQuote from: Travis on November 27, 2010, 03:16:15 PMQuote from: Molested Rubber Ducky on November 27, 2010, 07:59:27 AMMake zombie NPCs spawn at random locations on a map, and not get stuck in walls.Lulz.I was hoping someone would catch on to that.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.These are pretty good websites and if you need help just ask Ducky about it.
Quote from: Travis on November 27, 2010, 03:30:59 PMQuote from: Dark Emo on November 27, 2010, 03:22:53 PMQuote from: Molested Rubber Ducky on November 27, 2010, 03:20:15 PMQuote from: Travis on November 27, 2010, 03:16:15 PMQuote from: Molested Rubber Ducky on November 27, 2010, 07:59:27 AMMake zombie NPCs spawn at random locations on a map, and not get stuck in walls.Lulz.I was hoping someone would catch on to that.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.These are pretty good websites and if you need help just ask Ducky about it.Please do, I am here to help.
When I doloop=10for i=1,loop do Msg("This person was number "..i.." out of "..Loop.." people.")endI get:attempt to concatenate global 'Loop' (a nil value)Edit: I see what I did wrong
for k,v in pairs(player.GetAll()) do
Quote from: Molested Rubber Ducky on November 27, 2010, 03:36:47 PMQuote from: Travis on November 27, 2010, 03:30:59 PMQuote from: Dark Emo on November 27, 2010, 03:22:53 PMQuote from: Molested Rubber Ducky on November 27, 2010, 03:20:15 PMQuote from: Travis on November 27, 2010, 03:16:15 PMQuote from: Molested Rubber Ducky on November 27, 2010, 07:59:27 AMMake zombie NPCs spawn at random locations on a map, and not get stuck in walls.Lulz.I was hoping someone would catch on to that.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.These are pretty good websites and if you need help just ask Ducky about it.Please do, I am here to help.That's what my doctors tell me. XDBut anyways how easy is the language and learning it? Is it something that can be picked up right away or takes some time before you can produce something noticeable?
Quote from: Dark Emo on November 27, 2010, 04:36:02 PMQuote from: Molested Rubber Ducky on November 27, 2010, 03:36:47 PMQuote from: Travis on November 27, 2010, 03:30:59 PMQuote from: Dark Emo on November 27, 2010, 03:22:53 PMQuote from: Molested Rubber Ducky on November 27, 2010, 03:20:15 PMQuote from: Travis on November 27, 2010, 03:16:15 PMQuote from: Molested Rubber Ducky on November 27, 2010, 07:59:27 AMMake zombie NPCs spawn at random locations on a map, and not get stuck in walls.Lulz.I was hoping someone would catch on to that.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.These are pretty good websites and if you need help just ask Ducky about it.Please do, I am here to help.That's what my doctors tell me. XDBut anyways how easy is the language and learning it? Is it something that can be picked up right away or takes some time before you can produce something noticeable?It is relatively easy and takes just a little bit of time to fully understand. You can be producing something noticeable in Garry's Mod within the first hour of knowing the language. Garry's Mod makes Lua extremely easy, don't get me started on Lua for shit like WoW and other games.
Quote from: Molested Rubber Ducky on November 27, 2010, 04:38:59 PMQuote from: Dark Emo on November 27, 2010, 04:36:02 PMQuote from: Molested Rubber Ducky on November 27, 2010, 03:36:47 PMQuote from: Travis on November 27, 2010, 03:30:59 PMQuote from: Dark Emo on November 27, 2010, 03:22:53 PMQuote from: Molested Rubber Ducky on November 27, 2010, 03:20:15 PMQuote from: Travis on November 27, 2010, 03:16:15 PMQuote from: Molested Rubber Ducky on November 27, 2010, 07:59:27 AMMake zombie NPCs spawn at random locations on a map, and not get stuck in walls.Lulz.I was hoping someone would catch on to that.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.These are pretty good websites and if you need help just ask Ducky about it.Please do, I am here to help.That's what my doctors tell me. XDBut anyways how easy is the language and learning it? Is it something that can be picked up right away or takes some time before you can produce something noticeable?It is relatively easy and takes just a little bit of time to fully understand. You can be producing something noticeable in Garry's Mod within the first hour of knowing the language. Garry's Mod makes Lua extremely easy, don't get me started on Lua for shit like WoW and other games. How long until you can create a game mode?