BioWare Forums: View Post For Code Display


You are viewing a single post. Please do not take this post out of context.
Read the full topic: PICKPOCKETING PC's

Author PICKPOCKETING PC's
Illiam Posted: Friday, 05 July 02:11AM
below is my Pick Pocket script, modified slightly to avoid giving away module info. It IS NOT ELEGANT, ERROR TRAPPING, or even well written. but it is working as is.
feel free to cleanit up and post the revisions. here it is.
NWScript:
//::///////////////////// //////////////////////////
//:: FileName at_Pick_Pocket
//:: scrapped together by Illiam
//:://////////////////// //////////////////////////
void main()
{
object oPC = GetPCSpeaker();
ActionMoveToObject(oPC,FALSE,0.1);
ActionPlayAnimation(ANIMATION_FIRE FORGET_STEAL) ;
ActionUseSkill(SKILL_PICK_POCKET,oPC);
ActionWait(1.0);
ActionPlay Animation(ANIMATION_FIRE FORGET_STEAL);
ActionUseSkill(SKILL_PICK_POCKET,oPC);
ActionWait(1.0);
objectoMoveTo = GetObjectByTag("wp_hidden_loc");
ActionMoveToObject(oMoveTo,TRUE,1.0);
}


_________________
Have fun stormin' the castle!
Think they can do it?
It would take a miracle.

Peace,
Illiam Straightstem

*remove spaces added for the stupid message post so it would stop saying "Could Not Submit: Message contains word with too many characters without a space. Please check your message"
"

[ Edited By Illiam: Friday, 05 July 02:13AM (GMT) ]

[ Edited By Illiam: Friday, 05 July 02:13AM (GMT) ]

[ Edited By Illiam: Friday, 05 July 02:14AM (GMT) ]

This post taken from the BioWare Forums
Powered by BioBoards Version 2.05.008
Please read our Copyright and Trademark Information