my friend asked me to take a look at this .51a script for a mounting a players head onto a post.
but when you double click the post and target the players head, it just says Targetted item moved?
can anyone out there offer any insight as to what might be wrong??
[61fc]
NAME=head post
ID=013
TYPE=0
ATTR=08050
CATEGORY=Unique Items
SUBSECTION=Misc
DESCRIPTION=Head Post
ONTRIGGER=DCLICK
IF (<TIMER>==-1)
SRC.TARGET What head do you wish to mount?
RETURN 1
ELSE
SRC.MESSAGE There is already a head mounted on this pole!
RETURN 1
ENDIF
ONTRIGGER=TARGON_ITEM
IF (<SRC.TARG.ID>==1ce1)
IF (<SRC.TARG.LINK>==04fffffff)
SRC.MESSAGE It must be a player's head!
RETURN 1
ELSE
SRC.NEWITEM=1ce1 // create a new head
SRC.ACT.P=<P> // move the head to the post
SRC.ACT.MOVE 0 0 5 // mount the head o the post
SRC.ACT.ATTR=08050 // make head non-decay and non-movable
SRC.ACT.TIMER=-1
LINK=<SRC.ACT.SERIAL> // link the post to the new head
LINK.NAME=<SRC.TARG.NAME> mounted by <SRC.NAME> // re-name new head
ELSE
SRC.MESSAGE You must choose a player's head to mount!
RETURN 1
ENDIF