Clones

For questions relating to POL scripting (not necessarily related to WoD)

Moderators: Siobhan, Sebastian, Drocket

Clones

Postby SDonald on Sat Apr 17, 2004 11:25 am

Drocket,
Clones drop things when you tell them to go away.

This is intended behaviour in the killme() function, but since their items were created when you logoff, all sorts of nice weapons can be duplicated and be left behind when they go away.
SDonald
Regular Poster
 
Posts: 102
Joined: Fri Oct 11, 2002 7:47 am
Location: Australia

Postby Drocket on Mon Apr 19, 2004 4:27 am

Hmm, ok. It doesn't seem to happen to the clones on WoD, though...
Drocket
Site Admin
 
Posts: 820
Joined: Mon Oct 07, 2002 2:54 am

Postby ShadowStone on Mon Apr 19, 2004 5:39 am

Drocket wrote:Hmm, ok. It doesn't seem to happen to the clones on WoD, though...


Would teach people not to leave those annoying things out though wouldn't it? ;)
ShadowStone
Regular Poster
 
Posts: 113
Joined: Fri Oct 11, 2002 12:46 am
Location: Platteville, WI

Postby SDonald on Mon Apr 19, 2004 1:54 pm

Odd, I was sure I had the clone ai exactly the same as yours. I can see why it happens readily enough in the scripts I use.
The weapons are duplicated from when the clone npc is created, it's not a moveitem function, so the player doesn't lose anything.

No big deal and was easy to fix anyway. Just thought I'd report it in case.
SDonald
Regular Poster
 
Posts: 102
Joined: Fri Oct 11, 2002 7:47 am
Location: Australia


Return to Scripting Forum

Who is online

Users browsing this forum: No registered users and 0 guests

cron