yeppers Posted January 28, 2004 Share Posted January 28, 2004 since the items i have placed on my merchant are up for grabs by a theif and i am making a "super merchant" the merchant needs a fool proof protection plan. i set the Alarm in the AI to 100 on my merchant, i think this will be sure to catch anyone who has stolen from her. i tested it with 65535 everything and i got caught. what i would like to see is upon stealing from this specific merchant, the person who stole drops dead immediantly... any other solutions are greatly welcome... does anyone know how to accomplish this? Link to comment Share on other sites More sharing options...
yeppers Posted January 28, 2004 Author Share Posted January 28, 2004 also, she is encumbered by about 3000 pounds and more to come soon... so having her attack them probably wont work... Link to comment Share on other sites More sharing options...
cmac Posted January 28, 2004 Share Posted January 28, 2004 Well, you could put a script on all the items she has to kill the PC instantly. For example, if the merchant had an Ebony Shortsword, Begin StingyMerchant IfGetPcItem "ebony shortsword_merchant"<0, Player-> SetHealth 0 endif end Link to comment Share on other sites More sharing options...
Lord Of The Cheese Posted January 29, 2004 Share Posted January 29, 2004 that will work, if you want to have the player die when he/she buys the item also. Begin YEP_Merchant ;goes on merchant;i love snow...it snowed this week, no school.. Short Warning If ( GetPCSneaking == 1 )If ( OnActivate == 1 )If ( Warning == 0 )Messagebox, "Stealing is bad, dont do it again", "Ok"Set Warning to 1endifElseMessagebox, "WHAT DID I TELL YOU?!?!?"player->SetHealth 0endifendifendif end that will call if the pc is sneaking and activates the merchant, Therefore attempting to steal. it gives them a warning, and if they try it again, ....*poof*.... Link to comment Share on other sites More sharing options...
ohGr Posted January 30, 2004 Share Posted January 30, 2004 as the vocalist from Marduk said, people die in war, what does that mean, who cares? i cant see pulling out a sword and *uhhhh* dying sound interesting, since im hopeless with scripting and need a nice, dictionary with a million examples or more <_< , i cant do much except for topics/quests, people following you and some other simple stuff. maybe if you could, make her/him/it/ti/necrodeathwizard cast a spell that causes you to die, you know, make one that does 99999999 damage or something, if you can, change the cast cost to 1 or something, fiddle around with her level (even 100 is fine, as long as her/him/it/ti/necrodeathwizard isnt a grim and frostbitten necrodeathwizard of necroyetis and big noodles....see if you can make it a spell that gets you. Link to comment Share on other sites More sharing options...
Lord Of The Cheese Posted February 1, 2004 Share Posted February 1, 2004 try explode spell, i cant remember if its a regular game or tribunal function, so just try it... player->explodespell, "Spell" so it would look like this Begin YEP_Merchant ;goes on merchant;i love snow...it snowed this week, no school.. Short Warning If ( GetPCSneaking == 1 )If ( OnActivate == 1 )If ( Warning == 0 )Messagebox, "Stealing is bad, dont do it again", "Ok"Set Warning to 1endifElseMessagebox, "WHAT DID I TELL YOU?!?!?"player->ExplodeSpell "Spell"If ( Player->GetHealth > 0 ) ;incase spell doesnt kill playerplayer->SetHealth 0endifendifendifendif end Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.