Area Changes and other fixes
added areas and ccoh, fixed some areas to work with crafting fixed some on death issues added server entry/ooc
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Only players with a minimum level of "nMinLevel"
|
||||
and a maximum level of "nMaxLevel" can use this
|
||||
transition.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Sir Elric
|
||||
//:: Created On: 7th June, 2005
|
||||
//:: Event Used: OnAreaTransitionClick
|
||||
//:://////////////////////////////////////////////
|
||||
/* OnEnter of door */
|
||||
void main()
|
||||
{
|
||||
int nMinLevel = 1;//Set minimum level here
|
||||
int nMaxLevel = 18;//Set maximum level here
|
||||
object oClicker = GetClickingObject();
|
||||
object oTarget;
|
||||
if(GetIsPC(oClicker))
|
||||
{
|
||||
if( GetHitDice(oClicker ) < nMinLevel || GetHitDice( oClicker )> nMaxLevel )
|
||||
{
|
||||
FloatingTextStringOnCreature("",
|
||||
|
||||
oClicker, TRUE);
|
||||
}
|
||||
else
|
||||
{
|
||||
oTarget = GetTransitionTarget(OBJECT_SELF);
|
||||
SetAreaTransitionBMP(AREA_TRANSITION_RANDOM);
|
||||
AssignCommand(oClicker,JumpToObject(oTarget));
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user