Jump to content

Theif Detection / Kill


yeppers

Recommended Posts

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

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

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 1

endif

Else

Messagebox, "WHAT DID I TELL YOU?!?!?"

player->SetHealth 0

endif

endif

endif

 

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

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

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 1

endif

Else

Messagebox, "WHAT DID I TELL YOU?!?!?"

player->ExplodeSpell "Spell"

If ( Player->GetHealth > 0 ) ;incase spell doesnt kill player

player->SetHealth 0

endif

endif

endif

endif

 

end

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...