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,28 +0,0 @@
|
||||
//ffbj
|
||||
#include "x2_inc_switches"
|
||||
|
||||
void main()
|
||||
{ int nEvent =GetUserDefinedItemEventNumber();
|
||||
if (!nEvent == X2_ITEM_EVENT_ACTIVATE)
|
||||
return;
|
||||
{
|
||||
object oPC = GetItemActivator();
|
||||
object oItem = GetItemActivated();
|
||||
if (GetTag(oItem) == "leadercrystal")//not needed but for clarification.
|
||||
|
||||
{
|
||||
effect eFly;
|
||||
effect eFlyWind;
|
||||
eFly = EffectDisappear();
|
||||
eFlyWind = EffectVisualEffect(VFX_IMP_PULSE_WIND);
|
||||
|
||||
DelayCommand(1.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, eFly, oPC));
|
||||
DelayCommand(1.2, ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eFlyWind, GetLocation(oPC)));
|
||||
DelayCommand(2.0, FadeToBlack(oPC, FADE_SPEED_FASTEST));
|
||||
DelayCommand(3.0, FadeFromBlack(oPC, FADE_SPEED_FASTEST));
|
||||
DelayCommand(3.5, AssignCommand(oPC, JumpToObject(GetFactionLeader(oPC))));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user