Exporting attirbute add to .js?

Need help with your JScripts? Got questions concerning the DFNs? Come forward, step inside :)
Post Reply
stranf
UOX3 Guru
Posts: 939
Joined: Wed Jan 04, 2006 3:59 pm
Has thanked: 0
Been thanked: 0

Exporting attirbute add to .js?

Post by stranf »

I've posted this a few times in the past, but have never got a response on if it is possible:

Is it possible to export the stradd, dexadd, intadd from items to .js? In order to create a ring or weapon that adds or removes strength, my GMs have to update and create a .dfn.

It has been requested a lot by the GMs on my shard to have the ability to adjust this via 'set script:

IE: 'set stradd 3.
etc.

I am not sure how hard this is, since I have not looked at the .exe code..... For all I know, it is probably already possible via .js, I just don't know the command.



-----
Request II:

Is there anyway to turn and "owned" NPC into a "pack animal"? I've already created a script that gives PCs the ability to "own" an NPC and give them "pet" abilites such as guard and follow. It would be nice if PCs could access the bag and paperdoll of an owned NPC. I know GMs have the ability already, but I am at a loss on how to transfer this GM ability to a PC, IF the PC owns the NPC.

Thanks!
Post Reply