Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
22 lines
518 B
Plaintext
22 lines
518 B
Plaintext
void main()
|
|
{
|
|
object oArea=GetArea(OBJECT_SELF);
|
|
object oPC=GetPCSpeaker();
|
|
object oThing=GetFirstFactionMember(oPC);
|
|
|
|
// Remove items from the player's inventory
|
|
object oItemToTake;
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "fr_stone_head");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
|
|
while (GetIsObjectValid(oThing))
|
|
{
|
|
if (GetArea(oThing)==oArea)
|
|
{
|
|
AssignCommand(oThing,JumpToObject(GetWaypointByTag("fr_book_enter02"),FALSE));
|
|
}
|
|
oThing=GetNextFactionMember(oPC);
|
|
}
|
|
}
|