Changed folder name.

Changed folder name.
This commit is contained in:
Jaysyn904
2022-10-07 21:08:37 -04:00
parent 1c33c2843e
commit 8d97886c3f
7060 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
location lTarget;
object oTarget;
//Put this script OnEnter
void main()
{
object oPC = GetEnteringObject();
int r = GetLevelByClass(CLASS_TYPE_ROGUE, oPC);
int s = GetSkillRank(SKILL_SEARCH, oPC, TRUE);
//They must be a level 21 rogue nothing happens
if (r <=20)
{
//Only if they can spot it!
if(s >=30)
FloatingTextStringOnCreature("You notice a strange looking crack in the wall.", oPC, FALSE);
}
else if (r >=21)
{
if(s >=34)
{
SendMessageToPC(oPC, "You found a secrete lever!");
oTarget = GetWaypointByTag("royalrogueway");
lTarget = GetLocation(oTarget);
if (GetAreaFromLocation(lTarget)==OBJECT_INVALID) return;
DelayCommand(2.0, AssignCommand(oPC, ClearAllActions()));
DelayCommand(2.0, AssignCommand(oPC, ActionJumpToLocation(lTarget)));
}
}
}