I'm trying to make a gm command where I can change peoples pixel step size this is what I got so far.
mob/verb/Change_Pixel_Step(mob/M in world)
set category = "GGM"
set desc = "Change anyones step size"
I just don't know how I'm going to add the number changing.
ID:174433
Aug 16 2003, 8:34 am
|
|
<code>mob/verb/Change_Pixel_Step(mob/M in world, value as num) set category = "GGM" set desc = "Change anyone's step size" M.pixel_step_size = value</code>
You might want to consider looking into some of the functions that s_admin and maybe a few other GM systems have that allow you to edit any variable for any object. They're very useful. |
In response to Jotdaniel
|
|
Thank you for being helpful. That just helped me solve some other coding similar.
|
Will that work for ya?