NPCs to call "onUse" script.

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

NPCs to call "onUse" script.

Post by stranf »

is there anyway to remotely force an NPC to call an OnUse script?

I would like to stage an archery competition, and have NPCs fire at the targets as well as PCs.

Somehow I would like the invisible GM to click on a target NPC then click on a Target "object" to use.

So if the GM clicked on an NPC with a bow equipped he/she would fire at the target.

How would I do this? Thanks.
stranf
UOX3 Guru
Posts: 939
Joined: Wed Jan 04, 2006 3:59 pm
Has thanked: 0
Been thanked: 0

Post by stranf »

I guess the silence means this can't be done? 8)
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Post by giwo »

onUse is really only meant for players, without an active socket, most onUse scripts would likely fail.
Post Reply