Welcome to the Builder Academy

Question edited objects reverting to regular stats when oedit

More
29 Apr 2016 21:24 #5802 by rudeboyrave
So we have been editing the stats of objects using oset and dg scripts but if we modify an object in game, and say... give it +2hitroll it gives it the proper stats and everything is as planned. but if we oedit that vnum it reverts to the original hitroll. how can we stop this from happening and save the new values so that they stay if we oedit the original object?

CyberASSAULT
www.cyberassault.org
cyberassault.org 11111
A post-apocalyptic, sci-fi MUD.

Please Log in or Create an account to join the conversation.

More
02 May 2016 04:31 #5817 by rudeboyrave
ive done some research and it seems to be from update_all_objects which turns all objs with a vnum to the prototype when edited.

so how can i save an object's applys when i change them via a script like

nop %self.oset(apply damroll 1)% (works on my mud to set the damtoll of an object +1)
they always disappear on copyover.

CyberASSAULT
www.cyberassault.org
cyberassault.org 11111
A post-apocalyptic, sci-fi MUD.

Please Log in or Create an account to join the conversation.

More
02 May 2016 18:12 #5820 by rudeboyrave
i think i figured this one out.

CyberASSAULT
www.cyberassault.org
cyberassault.org 11111
A post-apocalyptic, sci-fi MUD.

Please Log in or Create an account to join the conversation.

Time to create page: 0.187 seconds