ID:266299
 
Which thing like walk or step or something will let me make an object go a direction for as many times as a number I put in says.
ex:
thingthatmakestheobjectwalk(EAST,6)

and the object steps to the east 6 times
Well think about your question, look up step()
In response to Nadrew
Nadrew wrote:
Well think about your question, look up step()

that only makes you step in one direction once.
In response to Air _King
Now try looking at all the other step things too and also take a look over at walk() and look at it's counter parts also.
In response to Nadrew
Nadrew wrote:
Now try looking at all the other step things too and also take a look over at walk() and look at it's counter parts also.

I did none of them do the thing i want.
In response to Air _King
Air _King wrote:
I did none of them do the thing i want.

You wanted something to walk in a direction, those procs are EXACTLY what you want. If you want it to walk more than once, make it walk more than once. Look up for() and while()

Alathon
In response to Alathon
Alathon wrote:
Air _King wrote:
I did none of them do the thing i want.

You wanted something to walk in a direction, those procs are EXACTLY what you want. If you want it to walk more than once, make it walk more than once. Look up for() and while()

Alathon

Oh yeah thanks
In response to Air _King
Now how would i make so if a mob moves east it returns south or 0?

I tried:
mob
Move()
East()
return South()
and it says:
proc definition not allowed inside another proc
In response to Air _King
What do you mean returns south or 0, explain in detail the effect you want.

Alathon
In response to Alathon
Alathon wrote:
What do you mean returns south or 0, explain in detail the effect you want.

Alathon

When you push the up arrow key its default is to return the north proc therefore moving you north. Instead I want it to move you south or not at all.