ID:179686
 
How do you make things move around and attack?
look up:
locate()
walk()
step()

and

Move()

in the help file(F1)

FIREking
Poke them with a sharp stick?
In response to Ernie Dirt
No, you might kill them that way.
In response to Nadrew
thAt reference didnt help. anybody?
In response to Tazor07
read what i wrote right under this post.

if you still cant get it, you will never learn how to. so either look it up, or not learn it at all.
Tazor07 wrote:
How do you make things move around and attack?

byond://Deadron.CombatSystem

byond://Deadron.WalkingClicking
In response to FIREking
My code uses walk_rand.....


but they look like those people who drank 17 cups of coffee, have to piss, and need to get somewhere on time with a minute to go......


<font size=4>LOL</font>



=~~~[Bardock]~~~=
In response to SSJ4_Sanatic Bardock
Heh...

I just use this code for my walking and attacking:

mob/Monster/New()
AI_MOVE(5,80,1,1)
AI_ATTACK(world.view,13,19,1,1)
AI_LIFESPAN(rand(300,500),1,1)
In response to SSJ4_Sanatic Bardock
SSJ4_Sanatic Bardock wrote:
My code uses walk_rand.....


but they look like those people who drank 17 cups of coffee, have to piss, and need to get somewhere on time with a minute to go......

I provide a fix for this problem in the Deadron library. It has a dd_step_rand() function that provides intelligent randomness, so that mobs seem like they are going somewhere. You can even set how random they are.

byond://Deadron.DeadronLibrary