ID:2902918
 
(See the best response by Rickoshay.)
mob
verb
fly()
world << "[usr.key] Floats up and begins flying in the air. [src]"
icon_state = "fly"
density = 0
mob
fly()
world << " landing..."
return..()
..()

i keep getting a procedure defination not allowed in another procedure error and i changed it in like 300 ways going from 6 to 1 errors until i finally came here.

Please tell me where im fuckin up or a page to study to help me cause.

cause i looked through return procedure pages even tried /factorial(n as num)
if(N<=0)return 1, or plus one then indentation return. (N-1)*N even tried changing the numerical n to A F for fly as number for density i got the fly to work.

but when i land back on the ground im then able to walk through dense Obj's PLEASE HELP thank you.
My problem has nothing to do with indention if that's what your assuming otherwise it would've been fixed in the 300 plus times i tried.

i'll post if i figure it out on my own.
i'll figure it out myself been reading through all the guides anyway because i really wanna figure out how to make my own shi.

so you can post if u want but i'll find it eventually on my own just a headache when it takes 2 days to learn one error.

but i am grateful im atleast trying to learn it before asking otherwise i wouldn't really be learning.
Use Developer help next time.

mob
verb
fly()
world << "[usr.key] Floats up and begins flying in the air. [src]"
icon_state = "fly"
density = 0
world << " landing..."



This is the proper code. Join the discord, my friend. I will show you the way.

https://discord.gg/BRWRspRpJP
i can join the disc and also thank you for that but that is how i had it in my code even had control t on in my dream maker to keep track of my indentions.


the verb for fly worked when i coded it.

But i needed to figure out a return procedure or proc becuase when i deactivate it.

and am walking again i can then walk over the water and yes all my waters in the custom map i've made through the dm code are Set to Density 1 but somehow the density of 0 remains after i've flown then not flyin.
In response to Meme01
i joined the Discord what's your disc handle # mine is Kurogomi8167
Best response
mob
var
flying = 0

verb
fly()
if(usr.flying) //if they're flying
usr.flying = 0
usr.density = 1
world<<"[usr] stops flying."
return

world<<"[usr] is flying."
usr.flying = 1
usr.density = 0
In response to Rickoshay
i know what i was doing wrong now thank you and i know how to use the states for it too for the return and before thank you again my g your awesome.
@ RickoShay