\o/ poke the n00b scripter everyone
**also if possible how do i add a store to the lvl/align changer**(see attached .erf)
how the bloody hell do i force ppl to get a longsword i made(ONLY ONCE per character they have)
if it has to to into the OnEnter for each area there's already a script there:
//::///////////////////////////////////////////////
//:: Name Tum's Anti-Thief Script
//:: FileName onunaquire_thief
//:: Copyright �??�?�© 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
*/
//:://////////////////////////////////////////////
//:: Created By: Tumtuk
//:: Created On: 9/12/03
//:://////////////////////////////////////////////
void main()
{
object oThief = GetModuleItemAcquiredBy();
object oTarget = GetModuleItemLostBy();
object oStolen = GetModuleItemLost();
string oNamea = GetName(oTarget);
string oName = GetName(oThief);
/* get item that was stolen only by player char, does not get items in barter */
/* unless the item being bartered has stolen flag allready set */
if(GetStolenFlag(oStolen) == TRUE && GetIsPC(oThief)== TRUE)
{
/* Change string to whatever you want PC thief to say */
AssignCommand(oThief, ActionSpeakString("Bad idea..very bad! Can anyone really be this stupid?...", TALKVOLUME_TALK));
/* Sets player in cut scene, they cannot save or move */
SetCutsceneMode(oThief, TRUE);
/* Return stolen item to player that it was stolen from */
CopyItem(oStolen, oTarget);
/* Destroy the stolen item from thief's inventory */
DelayCommand(0.2, DestroyObject(oStolen));
/* Announce the thief to everyone */
DelayCommand(6.0, AssignCommand(oThief, ActionSpeakString(oName + " is a THIEF and a loser..What an ass! Let the punishment begin!", TALKVOLUME_SHOUT)));
DelayCommand(6.5, AssignCommand(oThief, ActionSpeakString(oNamea + " was PICKPOCKETED by " + oName, TALKVOLUME_SHOUT)));
DelayCommand(7.0, AssignCommand(oThief, ActionSpeakString("I'm a noob, Kill me.",TALKVOLUME_SHOUT)));
/* Kill the moron */
DelayCommand(7.5, ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDeath(), oThief));
/* take him out of cut scene, although if you feel mean just delete this line and leave em there */
DelayCommand(8.0, SetCutsceneMode(oThief, FALSE));
}
}
[snapback]7952[/snapback]
You may want to unset the stolen flag before you copy the object :D
You may want to unset the stolen flag before you copy the object :D
[snapback]7962[/snapback]
Hee hee, I didn't even think about that, fun for the whole family! After all, it takes 2 to rob someone!
-420