Nox Script  3.0
 All Files Functions Variables Enumerations
builtins.h
Go to the documentation of this file.
1 
404 typedef int any;
405 typedef int function;
406 typedef int object;
407 typedef int string;
408 
412 const int FALSE = 0;
416 const int TRUE = 1;
422 const int SELF = -2;
428 const int OTHER = -1;
429 
434 {
435  AnchorCast,
436  AnchorOn,
437  AnchorOff,
438  BlindCast,
439  BlindOn,
440  BlindOff,
441  BlinkCast,
442  BurnCast,
443  CleansingFlameCast,
444  ChannelLifeCast,
445  ChannelLifeEffect,
446  ChannelLifeStop,
447  CancelCast,
448  CharmCast,
449  CharmSuccess,
450  CharmFailure,
451  ConfuseCast,
452  ConfuseOn,
453  ConfuseOff,
454  CounterspellCast,
455  CurePoisonCast,
456  CurePoisonEffect,
457  DeathCast,
458  DeathOn,
459  DeathOff,
460  DeathTimer,
461  DeathRayCast,
462  DetonateGlyphCast,
463  DrainManaCast,
464  EarthquakeCast,
465  EnergyBoltCast,
466  FearCast,
467  FearOn,
468  FearOff,
469  ForceOfNatureCast,
470  ForceOfNatureReflect,
471  ForceOfNatureRelease,
472  GlyphCast,
473  GlyphDetonate,
474  FireballCast,
475  FireballExplode,
476  FirewalkCast,
477  FirewalkOn,
478  FirewalkOff,
479  FirewalkFlame,
480  FistCast,
481  FistHit,
482  ForceFieldCast,
483  FrostCast,
484  FrostOn,
485  FrostOff,
486  FumbleCast,
487  FumbleEffect,
488  GreaterHealCast,
489  GreaterHealEffect,
490  GreaterHealStop,
491  HasteCast,
492  HasteOn,
493  HasteOff,
494  InfravisionCast,
495  InfravisionOn,
496  InfraVisionOff,
497  InversionCast,
498  InvisibilityCast,
499  InvisibilityOn,
500  InvisibilityOff,
501  InvulnerabilityCast,
502  InvulnerabilityOn,
503  InvulnerabilityOff,
504  InvulnerableEffect,
505  LesserHealCast,
506  LesserHealEffect,
507  LightCast,
508  LightOn,
509  LightOff,
510  LightningCast,
511  LockCast,
512  ManaBombCast,
513  ManaBombEffect,
514  MarkCast,
515  MagicMissileCast,
516  MagicMissileDetonate,
517  MeteorCast,
518  MeteorShowerCast,
519  MeteorHit,
520  MoonglowCast,
521  MoonglowOn,
522  MoonglowOff,
523  NullifyCast,
524  NullifyOn,
525  NullifyOff,
526  PhantomCast,
527  PixieSwarmCast,
528  PixieHit,
529  PlasmaCast,
530  PoisonCast,
531  PoisonEffect,
532  ProtectionFromFireCast,
533  ProtectionFromFireOn,
534  ProtectionFromFireOff,
535  ProtectionFromFireEffect,
536  ProtectionFromPoisonCast,
537  ProtectionFromPoisonOn,
538  ProtectionFromPoisonOff,
539  ProtectionFromPoisonEffec,
540  ProtectionFromElectricity,
541  ProtectionFromElectricity,
542  ProtectionFromElectricity,
543  ProtectionFromElectricity,
544  ProtectionFromMagicCast,
545  ProtectionFromMagicOn,
546  ProtectionFromMagicOff,
547  ProtectionFromMagicEffect,
548  PullCast,
549  PushCast,
550  ReflectiveShieldCast,
551  ReflectiveShieldOn,
552  ReflectiveShieldOff,
553  ReflectiveShieldEffect,
554  RegenerationOn,
555  RegenerationOff,
556  RunCast,
557  RunOn,
558  RunOff,
559  ShieldCast,
560  ShieldOn,
561  ShieldOff,
562  ShieldRepelled,
563  ShockCast,
564  ShockOn,
565  ShockOff,
566  Shocked,
567  SlowCast,
568  SlowOn,
569  SlowOff,
570  StunCast,
571  StunOn,
572  StunOff,
573  SummonCast,
574  SwapCast,
575  TagCast,
576  TagOn,
577  TagOff,
578  TeleportOut,
579  TeleportIn,
580  TeleportToMarkerCast,
581  TeleportToMarkerEffect,
582  TeleportPopCast,
583  TeleportToTargetCast,
584  TelekinesisCast,
585  TelekinesisOn,
586  TelekinesisOff,
587  ToxicCloudCast,
588  TriggerGlyphCast,
589  TurnUndeadCast,
590  TurnUndeadEffect,
591  VampirismCast,
592  VampirismOn,
593  VampirismOff,
594  DrainHealth,
595  VillainCast,
596  VillainOn,
597  VillainOff,
598  WallCast,
599  WallOn,
600  WallOff,
601  BerserkerChargeInvoke,
602  BerserkerCrash,
603  BerserkerChargeOn,
604  BerserkerChargeOff,
605  WarcryInvoke,
606  WarcryOn,
607  WarcryOff,
608  HarpoonInvoke,
609  HarpoonOn,
610  HarpoonOff,
611  TreadLightlyInvoke,
612  TreadLightlyOn,
613  TreadLightlyOff,
614  EyeOfTheWolfInvoke,
615  EyeOfTheWolfOn,
616  EyeOfTheWolfOff,
617  SpellPhonemeUp,
618  SpellPhonemeUpRight,
619  SpellPhonemeRight,
620  SpellPhonemeDownRight,
621  SpellPhonemeDown,
622  SpellPhonemeDownLeft,
623  SpellPhonemeLeft,
624  SpellPhonemeUpLeft,
625  FemaleSpellPhonemeUp,
626  FemaleSpellPhonemeUpRight,
627  FemaleSpellPhonemeRight,
628  FemaleSpellPhonemeDownRig,
629  FemaleSpellPhonemeDown,
630  FemaleSpellPhonemeDownLef,
631  FemaleSpellPhonemeLeft,
632  FemaleSpellPhonemeUpLeft,
633  NPCSpellPhonemeUp,
634  NPCSpellPhonemeUpRight,
635  NPCSpellPhonemeRight,
636  NPCSpellPhonemeDownRight,
637  NPCSpellPhonemeDown,
638  NPCSpellPhonemeDownLeft,
639  NPCSpellPhonemeLeft,
640  NPCSpellPhonemeUpLeft,
641  NPCFemaleSpellPhonemeUp,
642  NPCFemaleSpellPhonemeUpRi,
643  NPCFemaleSpellPhonemeRigh,
644  NPCFemaleSpellPhonemeDown,
645  NPCFemaleSpellPhonemeDown,
646  NPCFemaleSpellPhonemeDown,
647  NPCFemaleSpellPhonemeLeft,
648  NPCFemaleSpellPhonemeUpLe,
649  FireballWand,
650  SmallFireballWand,
651  FlareWand,
652  LightningWand,
653  DepletedWand,
654  Ricochet,
655  WeaponEffectFire,
656  WeaponEffectElectricity,
657  PermanentFizzle,
658  ManaEmpty,
659  Lock,
660  Unlock,
661  ElevEnable,
662  ElevDisable,
663  OpenWoodenDoor,
664  MoveWoodenDoor,
665  CloseWoodenDoor,
666  WoodenDoorLocked,
667  OpenGate,
668  MoveGate,
669  CloseGate,
670  GateLocked,
671  OpenWoodenGate,
672  CloseWoodenGate,
673  OpenHeavyWoodenDoor,
674  CloseHeavyWoodenDoor,
675  ElevStoneUp,
676  ElevStoneDown,
677  ElevWoodUp,
678  ElevWoodDown,
679  ElevMechUp,
680  ElevMechDown,
681  ElevLavaUp,
682  ElevLavaDown,
683  ElevGreenUp,
684  ElevGreenDown,
685  ElevLOTDUp,
686  ElevLOTDDown,
687  Gear1,
688  Gear2,
689  Gear3,
690  SmallRockMove,
691  MediumRockMove,
692  LargeRockMove,
693  BoulderMove,
694  WalkOnSnow,
695  WalkOnStone,
696  WalkOnDirt,
697  WalkOnWood,
698  WalkOnWater,
699  WalkOnMud,
700  RunOnSnow,
701  RunOnStone,
702  RunOnDirt,
703  RunOnWood,
704  RunOnWater,
705  RunOnMud,
706  PlayerFallThud,
707  BarrelMove,
708  BlackPowderBurn,
709  FireExtinguish,
710  PolypExplode,
711  PowderBarrelExplode,
712  BarrelBreak,
713  WaterBarrelBreak,
714  LOTDBarrelBreak,
715  WineCaskBreak,
716  BarrelStackBreak,
717  CoffinBreak,
718  WaspHiveBreak,
719  WorkstationBreak,
720  CrushLight,
721  CrushMedium,
722  CrushHard,
723  SentryRayHitWall,
724  SentryRayHit,
725  DeathRayKill,
726  TauntLaugh,
727  TauntShakeFist,
728  TauntPoint,
729  FlagPickup,
730  FlagDrop,
731  FlagRespawn,
732  FlagCapture,
733  TreasurePickup,
734  TreasureDrop,
735  GameOver,
736  ServerOptionsChange,
737  CamperAlarm,
738  PlayerEliminated,
739  CrownChange,
740  HumanMaleEatFood,
741  HumanMaleEatApple,
742  HumanMaleDrinkJug,
743  HumanMaleHurtLight,
744  HumanMaleHurtMedium,
745  HumanMaleHurtHeavy,
746  HumanMaleHurtPoison,
747  HumanMaleDie,
748  HumanMaleExertionLight,
749  HumanMaleExertionHeavy,
750  HumanFemaleEatFood,
751  HumanFemaleEatApple,
752  HumanFemaleDrinkJug,
753  HumanFemaleHurtLight,
754  HumanFemaleHurtMedium,
755  HumanFemaleHurtHeavy,
756  HumanFemaleHurtPoison,
757  HumanFemaleDie,
758  HumanFemaleExertionLight,
759  HumanFemaleExertionHeavy,
760  MonsterEatFood,
761  BatMove,
762  BatRecognize,
763  BatBite,
764  BatDie,
765  SmallSpiderMove,
766  SmallSpiderIdle,
767  SmallSpiderRecognize,
768  SmallSpiderBite,
769  SmallSpiderDie,
770  LargeSpiderMove,
771  LargeSpiderIdle,
772  LargeSpiderRecognize,
773  LargeSpiderBite,
774  LargeSpiderSpit,
775  WebGooHit,
776  LargeSpiderDie,
777  SkeletonMove,
778  SkeletonRecognize,
779  SkeletonHitting,
780  SkeletonMissing,
781  SkeletonAttackInit,
782  SkeletonDie,
783  SkeletonLordMove,
784  SkeletonLordRecognize,
785  SkeletonLordHitting,
786  SkeletonLordMissing,
787  SkeletonLordAttackInit,
788  SkeletonLordDie,
789  BomberRecognize,
790  BomberSummon,
791  BomberMove,
792  BomberDie,
793  DemonRecognize,
794  DemonTaunt,
795  DemonSpellInit,
796  DemonMove,
797  DemonHurt,
798  DemonDie,
799  GruntTaunt,
800  GruntIdle,
801  GruntBowTwang,
802  GruntRecognize,
803  GruntMove,
804  GruntAttackInit,
805  GruntHitting,
806  GruntMissing,
807  GruntHurt,
808  GruntDie,
809  OgreBruteTaunt,
810  OgreBruteIdle,
811  OgreBruteListen,
812  OgreBruteAttackInit,
813  OgreBruteMeleeMiss,
814  OgreBruteEngage,
815  OgreBruteRecognize,
816  OgreBruteMove,
817  OgreBruteHurt,
818  OgreBruteMeleeHit,
819  OgreBruteDie,
820  OgreWarlordTaunt,
821  OgreWarlordIdle,
822  OgreWarlordListen,
823  OgreWarlordAttackInit,
824  OgreWarlordMeleeMiss,
825  OgreWarlordEngage,
826  OgreWarlordRecognize,
827  OgreWarlordThrow,
828  OgreWarlordMove,
829  OgreWarlordHurt,
830  OgreWarlordMeleeHit,
831  OgreWarlordDie,
832  ScorpionMove,
833  ScorpionIdle,
834  ScorpionRecognize,
835  ScorpionStingHit,
836  ScorpionStingMiss,
837  ScorpionAttackInit,
838  ScorpionHurt,
839  ScorpionDie,
840  LeechMove,
841  LeechIdle,
842  LeechRecognize,
843  LeechHitting,
844  LeechMissing,
845  LeechAttackInit,
846  LeechHurt,
847  LeechDie,
848  ZombieMove,
849  ZombieIdle,
850  ZombieRecognize,
851  ZombieHitting,
852  ZombieMissing,
853  ZombieAttackInit,
854  ZombieHurt,
855  ZombieDie,
856  VileZombieMove,
857  VileZombieIdle,
858  VileZombieRecognize,
859  VileZombieHitting,
860  VileZombieMissing,
861  VileZombieAttackInit,
862  VileZombieHurt,
863  VileZombieDie,
864  BearMove,
865  BearRecognize,
866  BearHitting,
867  BearMissing,
868  BearAttackInit,
869  BearHurt,
870  BearDie,
871  WolfMove,
872  WolfIdle,
873  WolfRecognize,
874  WolfHitting,
875  WolfMissing,
876  WolfAttackInit,
877  WolfHurt,
878  WolfDie,
879  PlantRecognize,
880  PlantHitting,
881  PlantMissing,
882  PlantAttackInit,
883  PlantHurt,
884  PlantDie,
885  MimicMove,
886  MimicIdle,
887  MimicRecognize,
888  MimicAttackInit,
889  MimicHitting,
890  MimicMissing,
891  MimicHurt,
892  MimicDie,
893  MechGolemRecognize,
894  MechGolemHitting,
895  MechGolemMissing,
896  MechGolemMove,
897  MechGolemAttackInit,
898  MechGolemHurt,
899  MechGolemDie,
900  ImpMove,
901  ImpRecognize,
902  ImpSteal,
903  ImpShoot,
904  ImpDie,
905  GolemRecognize,
906  GolemMove,
907  GolemHitting,
908  GolemMissing,
909  GolemHurt,
910  GolemDie,
911  TowerRecognize,
912  TowerShoot,
913  SkullRecognize,
914  SkullShoot,
915  GhostMove,
916  GhostRecognize,
917  GhostHitting,
918  GhostHurt,
919  GhostDie,
920  WizardTalkable,
921  WizardMove,
922  WizardRecognize,
923  WizardEngage,
924  WizardRetreat,
925  WizardHurt,
926  WizardDie,
927  WaspMove,
928  WaspIdle,
929  WaspRecognize,
930  WaspSting,
931  WaspDie,
932  EmberDemonMove,
933  EmberDemonTaunt,
934  EmberDemonRecognize,
935  EmberDemonHitting,
936  EmberDemonMissing,
937  EmberDemonThrow,
938  EmberDemonHurt,
939  EmberDemonDie,
940  UrchinMove,
941  UrchinTaunt,
942  UrchinIdle,
943  UrchinRecognize,
944  UrchinThrow,
945  UrchinHurt,
946  UrchinFlee,
947  UrchinDie,
948  UrchinShamanMove,
949  UrchinShamanTaunt,
950  UrchinShamanIdle,
951  UrchinShamanRecognize,
952  UrchinShamanHurt,
953  UrchinShamanFlee,
954  UrchinShamanDie,
955  ArcherMove,
956  ArcherTaunt,
957  ArcherIdle,
958  ArcherRetreat,
959  ArcherRecognize,
960  ArcherMissileInit,
961  ArcherShoot,
962  ArcherHurt,
963  ArcherDie,
964  SwordsmanMove,
965  SwordsmanTaunt,
966  SwordsmanIdle,
967  SwordsmanRecognize,
968  SwordsmanHitting,
969  SwordsmanMissing,
970  SwordsmanRetreat,
971  SwordsmanAttackInit,
972  SwordsmanHurt,
973  SwordsmanDie,
974  BeholderMove,
975  BeholderIdle,
976  BeholderRecognize,
977  BeholderAttackInit,
978  BeholderHurt,
979  BeholderDie,
980  DryadMove,
981  DryadTaunt,
982  DryadRecognize,
983  DryadHurt,
984  DryadDie,
985  EvilCherubMove,
986  EvilCherubTaunt,
987  EvilCherubIdle,
988  EvilCherubMissileInit,
989  EvilCherubRecognize,
990  EvilCherubShoot,
991  EvilCherubHurt,
992  EvilCherubDie,
993  FishDie,
994  FrogDie,
995  FrogRecognize,
996  HecubahTaunt,
997  HecubahTalkable,
998  HecubahMove,
999  HecubahRecognize,
1000  HecubahAttackInit,
1001  HecubahHurt,
1002  HecubahDie,
1003  HecubahDieFrame0A,
1004  HecubahDieFrame0B,
1005  HecubahDieFrame98,
1006  HecubahDieFrame194,
1007  HecubahDieFrame283,
1008  HecubahDieFrame439,
1009  NecromancerTaunt,
1010  NecromancerTalkable,
1011  NecromancerMove,
1012  NecromancerRecognize,
1013  NecromancerEngage,
1014  NecromancerRetreat,
1015  NecromancerAttackInit,
1016  NecromancerHurt,
1017  NecromancerDie,
1018  LichMove,
1019  LichRecognize,
1020  LichAttackInit,
1021  LichHurt,
1022  LichDie,
1023  FlyingGolemMove,
1024  FlyingGolemRecognize,
1025  FlyingGolemShoot,
1026  FlyingGolemHurt,
1027  FlyingGolemDie,
1028  NPCIdle,
1029  NPCTalkable,
1030  NPCRecognize,
1031  NPCRetreat,
1032  NPCHurt,
1033  NPCDie,
1034  MaidenIdle,
1035  MaidenTalkable,
1036  MaidenFlee,
1037  MaidenHurt,
1038  MaidenDie,
1039  RatDie,
1040  ShadeMove,
1041  ShadeRecognize,
1042  ShadeAttackInit,
1043  ShadeHurt,
1044  ShadeDie,
1045  WeirdlingMove,
1046  WillOWispMove,
1047  WillOWispIdle,
1048  WillOWispRecognize,
1049  WillOWispEngage,
1050  WillOWispHurt,
1051  WillOWispDie,
1052  TrollMove,
1053  TrollIdle,
1054  TrollRecognize,
1055  TrollHurt,
1056  TrollAttackInit,
1057  TrollFlatus,
1058  TrollDie,
1059  MaleNPC1Idle,
1060  MaleNPC1Talkable,
1061  MaleNPC1Recognize,
1062  MaleNPC1Engage,
1063  MaleNPC1Retreat,
1064  MaleNPC1Hurt,
1065  MaleNPC1AttackInit,
1066  MaleNPC1Die,
1067  MaleNPC2Idle,
1068  MaleNPC2Talkable,
1069  MaleNPC2Recognize,
1070  MaleNPC2Engage,
1071  MaleNPC2Retreat,
1072  MaleNPC2Hurt,
1073  MaleNPC2AttackInit,
1074  MaleNPC2Die,
1075  Maiden1Talkable,
1076  Maiden1Idle,
1077  Maiden1Recognize,
1078  Maiden1Retreat,
1079  Maiden1Hurt,
1080  Maiden1AttackInit,
1081  Maiden1Die,
1082  Maiden2Idle,
1083  Maiden2Talkable,
1084  Maiden2Recognize,
1085  Maiden2Retreat,
1086  Maiden2Hurt,
1087  Maiden2AttackInit,
1088  Maiden2Die,
1089  HorvathTalkable,
1090  HorvathEngage,
1091  HorvathHurt,
1092  HorvathDie,
1093  Wizard1Idle,
1094  Wizard1Talkable,
1095  Wizard1Recognize,
1096  Wizard1Engage,
1097  Wizard1Retreat,
1098  Wizard1Hurt,
1099  Wizard1AttackInit,
1100  Wizard1Die,
1101  Wizard2Idle,
1102  Wizard2Talkable,
1103  Wizard2Recognize,
1104  Wizard2Engage,
1105  Wizard2Retreat,
1106  Wizard2Hurt,
1107  Wizard2AttackInit,
1108  Wizard2Die,
1109  FireKnight1Idle,
1110  FireKnight1Talkable,
1111  FireKnight1Recognize,
1112  FireKnight1Engage,
1113  FireKnight1Retreat,
1114  FireKnight1Hurt,
1115  FireKnight1AttackInit,
1116  FireKnight1Die,
1117  FireKnight2Idle,
1118  FireKnight2Talkable,
1119  FireKnight2Recognize,
1120  FireKnight2Engage,
1121  FireKnight2Retreat,
1122  FireKnight2Hurt,
1123  FireKnight2AttackInit,
1124  FireKnight2Die,
1125  Guard1Idle,
1126  Guard1Talkable,
1127  Guard1Recognize,
1128  Guard1Engage,
1129  Guard1Retreat,
1130  Guard1Hurt,
1131  Guard1AttackInit,
1132  Guard1Die,
1133  Guard2Idle,
1134  Guard2Talkable,
1135  Guard2Recognize,
1136  Guard2Engage,
1137  Guard2Retreat,
1138  Guard2Hurt,
1139  Guard2AttackInit,
1140  Guard2Die,
1141  WoundedNPCIdle,
1142  WoundedNPCTalkable,
1143  WoundedNPCRecognize,
1144  WoundedNPCRetreat,
1145  WoundedNPCHurt,
1146  WoundedNPCAttackInit,
1147  WoundedNPCDie,
1148  HorrendousTalkable,
1149  HorrendousRecognize,
1150  HorrendousRetreat,
1151  HorrendousHurt,
1152  HorrendousAttackInit,
1153  HorrendousDie,
1154  PotionUse,
1155  RestoreHealth,
1156  RestoreMana,
1157  SecretWallOpen,
1158  SecretWallClose,
1159  SecretWallEarthOpen,
1160  SecretWallEarthClose,
1161  SecretWallMetalOpen,
1162  SecretWallMetalClose,
1163  SecretWallStoneOpen,
1164  SecretWallStoneClose,
1165  SecretWallWoodOpen,
1166  SecretWallWoodClose,
1167  TriggerPressed,
1168  TriggerReleased,
1169  PotionBreak,
1170  WallDestroyed,
1171  WallDestroyedStone,
1172  WallDestroyedWood,
1173  WallDestroyedMetal,
1174  ChestOpen,
1175  CryptChestOpen,
1176  SackChestOpen,
1177  EggBreak,
1178  ButtonPress,
1179  ButtonRelease,
1180  LeverToggle,
1181  SwitchToggle,
1182  ChainPull,
1183  ShortBellsUp,
1184  LongBellsUp,
1185  LongBellsDown,
1186  BigBell,
1187  MetallicBong,
1188  Chime,
1189  BigGong,
1190  SmallGong,
1191  MysticChant,
1192  TripleChime,
1193  Clank1,
1194  Clank2,
1195  Clank3,
1196  MapOpen,
1197  MapClose,
1198  BookOpen,
1199  BookClose,
1200  PageTurn,
1201  InventoryOpen,
1202  InventoryClose,
1203  InventoryPickup,
1204  InventoryDrop,
1205  SpellPickup,
1206  SpellDrop,
1207  SpellPopOffBook,
1208  TrapEditorOpen,
1209  TrapEditorClose,
1210  ChangeSpellbar,
1211  ExpandSpellbar,
1212  CollapseSpellbar,
1213  CreatureCageAppears,
1214  CreatureCageHides,
1215  ShopRepairItem,
1216  MetalArmorPickup,
1217  MetalArmorDrop,
1218  MetalArmorBreak,
1219  LeatherArmorPickup,
1220  LeatherArmorDrop,
1221  LeatherArmorBreak,
1222  WoodenArmorPickup,
1223  WoodenArmorDrop,
1224  WoodenArmorBreak,
1225  ClothArmorPickup,
1226  ClothArmorDrop,
1227  ClothArmorBreak,
1228  ShoesPickup,
1229  ShoesDrop,
1230  MetalWeaponBreak,
1231  WoodWeaponBreak,
1232  KeyPickup,
1233  KeyDrop,
1234  AmuletPickup,
1235  AmuletDrop,
1236  TrapPickup,
1237  TrapDrop,
1238  BookPickup,
1239  BookDrop,
1240  ScrollPickup,
1241  ScrollDrop,
1242  WandPickup,
1243  WandDrop,
1244  PotionPickup,
1245  PotionDrop,
1246  MeatPickup,
1247  MeatDrop,
1248  ApplePickup,
1249  AppleDrop,
1250  ShroomPickup,
1251  ShroomDrop,
1252  SpectaclesPickup,
1253  SpectaclesDrop,
1254  MetalWeaponPickup,
1255  WoodenWeaponPickup,
1256  MetalWeaponDrop,
1257  WoodenWeaponDrop,
1258  BearTrapTriggered,
1259  PoisonTrapTriggered,
1260  StoneHitStone,
1261  StoneHitEarth,
1262  StoneHitWood,
1263  StoneHitMetal,
1264  StoneHitFlesh,
1265  WoodHitStone,
1266  WoodHitEarth,
1267  WoodHitWood,
1268  WoodHitMetal,
1269  WoodHitFlesh,
1270  MetalHitStone,
1271  MetalHitEarth,
1272  MetalHitWood,
1273  MetalHitMetal,
1274  MetalHitFlesh,
1275  FleshHitStone,
1276  FleshHitEarth,
1277  FleshHitWood,
1278  FleshHitMetal,
1279  FleshHitFlesh,
1280  DiamondHitStone,
1281  DiamondHitEarth,
1282  DiamondHitWood,
1283  DiamondHitMetal,
1284  DiamondHitFlesh,
1285  HitStoneBreakable,
1286  HitEarthBreakable,
1287  HitWoodBreakable,
1288  HitMetalBreakable,
1289  HitMagicBreakable,
1290  HitMetalShield,
1291  PunchMissing,
1292  LongswordMissing,
1293  SwordMissing,
1294  HammerMissing,
1295  AxeMissing,
1296  MaceMissing,
1297  BowEmpty,
1298  CrossBowEmpty,
1299  BowShoot,
1300  CrossBowShoot,
1301  ArrowTrapShoot,
1302  GreatSwordReflect,
1303  ChakramThrow,
1304  ChakramCatch,
1305  ChakramFallToGround,
1306  StaffBlock,
1307  NextWeapon,
1308  HeartBeat,
1309  GenerateTick,
1310  SummonClick,
1311  SummonComplete,
1312  SummonAbort,
1313  ManaClick,
1314  LevelUp,
1315  JournalEntryAdd,
1316  SecretFound,
1317  EarthRumbleMajor,
1318  EarthRumbleMinor,
1319  ElectricalArc1,
1320  FloorSpikesUp,
1321  FloorSpikesDown,
1322  SpikeBlockMove,
1323  BoulderRoll,
1324  ArcheryContestBegins,
1325  HorrendousIsKilled,
1326  StaffOblivionAchieve1,
1327  StaffOblivionAchieve2,
1328  StaffOblivionAchieve3,
1329  StaffOblivionAchieve4,
1330  FireGrate,
1331  MechGolemPowerUp,
1332  ShellSelect,
1333  ShellClick,
1334  ShellSlideIn,
1335  ShellSlideOut,
1336  ShellMouseBoom,
1337  NoCanDo,
1338  BallThrow,
1339  BallGrab,
1340  BallBounce,
1341  BallHitGoal,
1342  HarpoonBroken,
1343  HarpoonReel,
1344  MonsterGeneratorDie,
1345  MonsterGeneratorHurt,
1346  MonsterGeneratorSpawn,
1347  PlayerExit,
1348  AwardLife,
1349  SoulGateTouch,
1350  QuestRespawn,
1351  QuestFinalDeath,
1352  QuestPlayerJoinGame,
1353  QuestStatScreen,
1354  QuestIntroScreen,
1355  QuestPlayerExitGame,
1356  QuestLockedChest,
1357  StoneDoorOpen,
1358  StoneDoorClose,
1359  DiamondPickup,
1360  DiamondDrop,
1361  EnableSharedKeyMode,
1362 };
1363 
1367 enum Class
1368 {
1369  MISSILE,
1370  MONSTER,
1371  PLAYER,
1372  OBSTACLE,
1373  FOOD,
1374  EXIT,
1375  KEY,
1376  DOOR,
1377  INFO_BOOK,
1378  TRIGGER,
1379  TRANSPORTER,
1380  HOLE,
1381  WAND,
1382  FIRE,
1383  ELEVATOR,
1384  ELEVATOR_SHAFT,
1385  DANGEROUS,
1386  MONSTERGENERATOR,
1387  READABLE,
1388  LIGHT,
1389  SIMPLE,
1390  COMPLEX,
1391  IMMOBILE,
1392  VISIBLE_ENABLE,
1393  WEAPON,
1394  ARMOR,
1395  NOT_STACKABLE,
1396  TREASURE,
1397  FLAG,
1398  CLIENT_PERSIST,
1399  CLIENT_PREDICT,
1400  PICKUP
1401 };
1402 
1407 {
1408  DAMAGE_BLADE = 0,
1409  DAMAGE_FLAME = 1,
1410  DAMAGE_CRUSH = 2,
1411  DAMAGE_IMPALE = 3,
1412  DAMAGE_DRAIN = 4,
1413  DAMAGE_POISON = 5,
1414  DAMAGE_DISPEL_UNDEAD = 6,
1415  DAMAGE_EXPLOSION = 7,
1416  DAMAGE_BITE = 8,
1417  DAMAGE_ELECTRIC = 9,
1418  DAMAGE_CLAW = 10,
1419  DAMAGE_IMPACT = 11,
1420  DAMAGE_LAVA = 12,
1421  DAMAGE_DEATH_MAGIC = 13,
1422  DAMAGE_PLASMA = 14,
1423  DAMAGE_MANA_BOMB = 15,
1424  DAMAGE_ZAP_RAY = 16,
1425  DAMAGE_AIRBORNE_ELECTRIC = 17,
1426 };
1427 
1432 {
1433  PARTICLEFX,
1434  PLASMA,
1435  SUMMON,
1436  SUMMON_CANCEL,
1437  SHIELD,
1438  BLUE_SPARKS,
1439  YELLOW_SPARKS,
1440  CYAN_SPARKS,
1441  VIOLET_SPARKS,
1442  EXPLOSION,
1443  LESSER_EXPLOSION,
1444  COUNTERSPELL_EXPLOSION,
1445  THIN_EXPLOSION,
1446  TELEPORT,
1447  SMOKE_BLAST,
1448  DAMAGE_POOF,
1449  LIGHTNING,
1450  ENERGY_BOLT,
1451  CHAIN_LIGHTNING_BOLT,
1452  DRAIN_MANA,
1453  CHARM,
1454  GREATER_HEAL,
1455  MAGIC,
1456  SPARK_EXPLOSION,
1457  DEATH_RAY,
1458  SENTRY_RAY,
1459  RICOCHET,
1460  JIGGLE,
1461  GREEN_BOLT,
1462  GREEN_EXPLOSION,
1463  WHITE_FLASH,
1464  GENERATING_MAP,
1465  ASSEMBLING_MAP,
1466  POPULATING_MAP,
1467  DURATION_SPELL,
1468  DELTAZ_SPELL_START,
1469  TURN_UNDEAD,
1470  ARROW_TRAP,
1471  VAMPIRISM,
1472  MANA_BOMB_CANCEL,
1473 };
1474 
1479 {
1480  ENCHANT_INVISIBLE,
1481  ENCHANT_MOONGLOW,
1482  ENCHANT_BLINDED,
1483  ENCHANT_CONFUSED,
1484  ENCHANT_SLOWED,
1485  ENCHANT_HELD,
1486  ENCHANT_DETECTING,
1487  ENCHANT_ETHEREAL,
1488  ENCHANT_RUN,
1489  ENCHANT_HASTED,
1490  ENCHANT_VILLAIN,
1491  ENCHANT_AFRAID,
1492  ENCHANT_BURNING,
1493  ENCHANT_VAMPIRISM,
1494  ENCHANT_ANCHORED,
1495  ENCHANT_LIGHT,
1496  ENCHANT_DEATH,
1497  ENCHANT_PROTECT_FROM_FIRE,
1498  ENCHANT_PROTECT_FROM_POISON,
1499  ENCHANT_PROTECT_FROM_MAGIC,
1500  ENCHANT_PROTECT_FROM_ELECTRICITY,
1501  ENCHANT_INFRAVISION,
1502  ENCHANT_SHOCK,
1503  ENCHANT_INVULNERABLE,
1504  ENCHANT_TELEKINESIS,
1505  ENCHANT_FREEZE,
1506  ENCHANT_SHIELD,
1507  ENCHANT_REFLECTIVE_SHIELD,
1508  ENCHANT_CHARMING,
1509  ENCHANT_ANTI_MAGIC,
1510  ENCHANT_CROWN,
1511  ENCHANT_SNEAK
1512 };
1513 
1518 {
1519  NW = 0,
1520  N = 1,
1521  NE = 2,
1522  W = 3,
1523  E = 5,
1524  SW = 6,
1525  S = 7,
1526  SE = 8
1527 };
1528 
1532 enum Spell
1533 {
1534  SPELL_INVALID,
1535  SPELL_ANCHOR,
1536  SPELL_ARACHNAPHOBIA,
1537  SPELL_BLIND,
1538  SPELL_BLINK,
1539  SPELL_BURN,
1540  SPELL_CANCEL,
1541  SPELL_CHAIN_LIGHTNING_BOLT,
1542  SPELL_CHANNEL_LIFE,
1543  SPELL_CHARM,
1544  SPELL_CLEANSING_FLAME,
1545  SPELL_CLEANSING_MANA_FLAME,
1546  SPELL_CONFUSE,
1547  SPELL_COUNTERSPELL,
1548  SPELL_CURE_POISON,
1549  SPELL_DEATH,
1550  SPELL_DEATH_RAY,
1551  SPELL_DETECT_MAGIC,
1552  SPELL_DETONATE,
1553  SPELL_DETONATE_GLYPHS,
1554  SPELL_DISENCHANT_ALL,
1555  SPELL_TURN_UNDEAD,
1556  SPELL_DRAIN_MANA,
1557  SPELL_EARTHQUAKE,
1558  SPELL_LIGHTNING,
1559  SPELL_EXPLOSION,
1560  SPELL_FEAR,
1561  SPELL_FIREBALL,
1562  SPELL_FIREWALK,
1563  SPELL_FIST,
1564  SPELL_FORCE_FIELD,
1565  SPELL_FORCE_OF_NATURE,
1566  SPELL_FREEZE,
1567  SPELL_FUMBLE,
1568  SPELL_GLYPH,
1569  SPELL_GREATER_HEAL,
1570  SPELL_HASTE,
1571  SPELL_INFRAVISION,
1572  SPELL_INVERSION,
1573  SPELL_INVISIBILITY,
1574  SPELL_INVULNERABILITY,
1575  SPELL_LESSER_HEAL,
1576  SPELL_LIGHT,
1577  SPELL_CHAIN_LIGHTNING,
1578  SPELL_LOCK,
1579  SPELL_MARK,
1580  SPELL_MARK_1,
1581  SPELL_MARK_2,
1582  SPELL_MARK_3,
1583  SPELL_MARK_4,
1584  SPELL_MAGIC_MISSILE,
1585  SPELL_SHIELD,
1586  SPELL_METEOR,
1587  SPELL_METEOR_SHOWER,
1588  SPELL_MOONGLOW,
1589  SPELL_NULLIFY,
1590  SPELL_MANA_BOMB,
1591  SPELL_PHANTOM,
1592  SPELL_PIXIE_SWARM,
1593  SPELL_PLASMA,
1594  SPELL_POISON,
1595  SPELL_PROTECTION_FROM_ELECTRICITY,
1596  SPELL_PROTECTION_FROM_FIRE,
1597  SPELL_PROTECTION_FROM_MAGIC,
1598  SPELL_PROTECTION_FROM_POISON,
1599  SPELL_PULL,
1600  SPELL_PUSH,
1601  SPELL_OVAL_SHIELD,
1602  SPELL_RESTORE_HEALTH,
1603  SPELL_RESTORE_MANA,
1604  SPELL_RUN,
1605  SPELL_SHOCK,
1606  SPELL_SLOW,
1607  SPELL_SMALL_ZAP,
1608  SPELL_STUN,
1609  SPELL_SUMMON_BAT,
1610  SPELL_SUMMON_BLACK_BEAR,
1611  SPELL_SUMMON_BEAR,
1612  SPELL_SUMMON_BEHOLDER,
1613  SPELL_SUMMON_BOMBER,
1614  SPELL_SUMMON_CARNIVOROUS_PLANT,
1615  SPELL_SUMMON_ALBINO_SPIDER,
1616  SPELL_SUMMON_SMALL_ALBINO_SPIDER,
1617  SPELL_SUMMON_EVIL_CHERUB,
1618  SPELL_SUMMON_EMBER_DEMON,
1619  SPELL_SUMMON_GHOST,
1620  SPELL_SUMMON_GIANT_LEECH,
1621  SPELL_SUMMON_IMP,
1622  SPELL_SUMMON_MECHANICAL_FLYER,
1623  SPELL_SUMMON_MECHANICAL_GOLEM,
1624  SPELL_SUMMON_MIMIC,
1625  SPELL_SUMMON_OGRE,
1626  SPELL_SUMMON_OGRE_BRUTE,
1627  SPELL_SUMMON_OGRE_WARLORD,
1628  SPELL_SUMMON_SCORPION,
1629  SPELL_SUMMON_SHADE,
1630  SPELL_SUMMON_SKELETON,
1631  SPELL_SUMMON_SKELETON_LORD,
1632  SPELL_SUMMON_SPIDER,
1633  SPELL_SUMMON_SMALL_SPIDER,
1634  SPELL_SUMMON_SPITTING_SPIDER,
1635  SPELL_SUMMON_STONE_GOLEM,
1636  SPELL_SUMMON_TROLL,
1637  SPELL_SUMMON_URCHIN,
1638  SPELL_SUMMON_WASP,
1639  SPELL_SUMMON_WILLOWISP,
1640  SPELL_SUMMON_WOLF,
1641  SPELL_SUMMON_BLACK_WOLF,
1642  SPELL_SUMMON_WHITE_WOLF,
1643  SPELL_SUMMON_ZOMBIE,
1644  SPELL_SUMMON_VILE_ZOMBIE,
1645  SPELL_SUMMON_DEMON,
1646  SPELL_SUMMON_LICH,
1647  SPELL_SUMMON_DRYAD,
1648  SPELL_SUMMON_URCHIN_SHAMAN,
1649  SPELL_SWAP,
1650  SPELL_TAG,
1651  SPELL_TELEPORT_OTHER_TO_MARK_1,
1652  SPELL_TELEPORT_OTHER_TO_MARK_2,
1653  SPELL_TELEPORT_OTHER_TO_MARK_3,
1654  SPELL_TELEPORT_OTHER_TO_MARK_4,
1655  SPELL_TELEPORT_POP,
1656  SPELL_TELEPORT_TO_MARK_1,
1657  SPELL_TELEPORT_TO_MARK_2,
1658  SPELL_TELEPORT_TO_MARK_3,
1659  SPELL_TELEPORT_TO_MARK_4,
1660  SPELL_TELEPORT_TO_TARGET,
1661  SPELL_TELEKINESIS,
1662  SPELL_TOXIC_CLOUD,
1663  SPELL_TRIGGER_GLYPH,
1664  SPELL_VAMPIRISM,
1665  SPELL_VILLAIN,
1666  SPELL_WALL,
1667  SPELL_WINK,
1668  SPELL_SUMMON_CREATURE,
1669  SPELL_MARK_LOCATION,
1670  SPELL_TELEPORT_TO_MARKER
1671 };
1672 
1677 {
1678  HELMET,
1679  SHIELD,
1680  BREASTPLATE,
1681  ARM_ARMOR,
1682  PANTS,
1683  BOOTS,
1684  SHIRT,
1685  LEG_ARMOR,
1686  BACK,
1687  FLAG,
1688  QUIVER,
1689  CROSSBOW,
1690  ARROW,
1691  BOLT,
1692  CHAKRAM,
1693  SHURIKEN,
1694  SWORD,
1695  LONG_SWORD,
1696  GREAT_SWORD,
1697  MACE,
1698  OGRE_AXE,
1699  HAMMER,
1700  STAFF,
1701  STAFF_SULPHOROUS_FLARE,
1702  STAFF_SULPHOROUS_SHOWER,
1703  STAFF_LIGHTNING,
1704  STAFF_FIREBALL,
1705  STAFF_TRIPLE_FIREBALL,
1706  STAFF_FORCE_OF_NATURE,
1707  STAFF_DEATH_RAY,
1708  STAFF_OBLIVION_HALBERD,
1709  STAFF_OBLIVION_HEART,
1710  STAFF_OBLIVION_WIERDLING,
1711  STAFF_OBLIVION_ORB,
1712  SMALL_MONSTER,
1713  MEDIUM_MONSTER,
1714  LARGE_MONSTER,
1715  SHOPKEEPER,
1716  NPC,
1717  FEMALE_NPC,
1718  UNDEAD,
1719  MONITOR,
1720  MIGRATE,
1721  IMMUNE_POISON,
1722  IMMUNE_FIRE,
1723  IMMUNE_ELECTRICITY,
1724  IMMUNE_FEAR,
1725  BOMBER,
1726  NO_TARGET,
1727  NO_SPELL_TARGET,
1728  HAS_SOUL,
1729  WARCRY_STUN,
1730  LOOK_AROUND,
1731  WOUNDED_NPC,
1732  SIMPLE,
1733  APPLE,
1734  POTION,
1735  HEALTH_POTION,
1736  MANA_POTION,
1737  CURE_POISON_POTION,
1738  MUSHROOM,
1739  HASTE_POTION,
1740  INVISIBILITY_POTION,
1741  SHIELD_POTION,
1742  FIRE_PROTECT_POTION,
1743  SHOCK_PROTECT_POTION,
1744  POISON_PROTECT_POTION,
1745  INVULNERABILITY_POTION,
1746  INFRAVISION_POTION,
1747  VAMPIRISM_POTION,
1748  HEAVY,
1749  LAVA,
1750  GATE,
1751  VISIBLE_OBELISK,
1752  INVISIBLE_OBELISK,
1753  TECH,
1754  LOTD,
1755  USEABLE,
1756  CHEST_NW,
1757  CHEST_NE,
1758  CHEST_SE,
1759  CHEST_SW,
1760  STONE_DOOR,
1761  SPELL_BOOK,
1762  FIELD_GUIDE,
1763  ABILITY_BOOK,
1764  MISSILE_COUNTERSPELL,
1765  MAGIC,
1766  GENERATOR_NW,
1767  GENERATOR_NE,
1768  GENERATOR_SE,
1769  GENERATOR_SW,
1770  QUEST_EXIT,
1771  QUEST_WARP_EXIT,
1772  FLESH,
1773  CLOTH,
1774  ANIMAL_HIDE,
1775  WOOD,
1776  METAL,
1777  STONE,
1778  EARTH,
1779  LIQUID,
1780  GLASS,
1781  PAPER,
1782  SNOW,
1783  MUD,
1784  MAGIC,
1785  DIAMOND,
1786  NONE,
1787 };
1788 
1796 object Wall(int x, int y);
1797 
1803 void WallOpen(object wall);
1804 
1810 void WallGroupOpen(object wallGroup);
1811 
1817 void WallClose(object wall);
1818 
1824 void WallGroupClose(object wallGroup);
1825 
1833 void WallToggle(object wall);
1834 
1842 void WallGroupToggle(object wallGroup);
1843 
1851 void WallBreak(object wall);
1852 
1860 void WallGroupBreak(object wallGroup);
1861 
1872 int SecondTimer(int seconds, function callback);
1873 
1884 int FrameTimer(int frames, function callback);
1885 
1896 void Move(int id, object waypoint);
1897 
1908 void GroupMove(object objectGroup, object waypoint);
1909 
1916 void LookAtDirection(int id, int direction);
1917 
1924 void GroupLookAtDirection(object objectGroup, int direction);
1925 
1931 void ObjectOn(int id);
1932 
1938 void ObjectGroupOn(object objectGroup);
1939 
1945 void WayPointOn(object waypoint);
1946 
1952 void WayPointGroupOn(object waypointGroup);
1953 
1959 void ObjectOff(int id);
1960 
1966 void ObjectGroupOff(object objectGroup);
1967 
1973 void WayPointOff(object waypoint);
1974 
1980 void WayPointGroupOff(object waypointGroup);
1981 
1987 void ObjectToggle(int id);
1988 
1994 void ObjectGroupToggle(object objectGroup);
1995 
2001 void WayPointToggle(object waypoint);
2002 
2008 void WayPointGroupToggle(object waypointGroup);
2009 
2015 void Delete(int id);
2016 
2022 void GroupDelete(object objectGroup);
2023 
2031 void Wander(int id);
2032 
2038 void GroupWander(object objectGroup);
2039 
2048 void Unused1f(int id);
2049 
2058 void Unused20(int id);
2059 
2065 void GoBackHome(int id);
2066 
2073 void AudioEvent(string audio, object waypoint);
2074 
2084 void Print(string message);
2085 
2095 void PrintToAll(string message);
2096 
2107 void Chat(int id, string message);
2108 
2114 void StopScript(any value);
2115 
2123 void UnlockDoor(int id);
2124 
2132 void LockDoor(int id);
2133 
2140 int IsObjectOn(int id);
2141 
2148 int IsWaypointOn(object waypoint);
2149 
2158 int IsLocked(int id);
2159 
2167 float RandomFloat(float min, float max);
2168 
2176 int Random(int min, int max);
2177 
2190 int SecondTimerWithArg(int seconds, any argument, function callback);
2191 
2204 int FrameTimerWithArg(int frames, any argument, function callback);
2205 
2215 string IntToString(int number);
2216 
2226 string FloatToString(float number);
2227 
2240 int CreateObject(string type, object waypoint);
2241 
2253 void Damage(int target, int source, int amount, int type);
2254 
2266 void GroupDamage(object targetGroup, int source, int amount, int type);
2267 
2276 int CreateMover(int id, object waypoint, float speed);
2277 
2285 void GroupCreateMover(object objectGroup, object waypoint, float speed);
2286 
2297 int AwardSpell(int id, string spell);
2298 
2308 void GroupAwardSpell(object objectGroup, string spell);
2309 
2320 void Enchant(int id, string enchant, float duration);
2321 
2332 void GroupEnchant(int id, string enchant, float duration);
2333 
2342 int GetHost();
2343 
2352 int Object(string name);
2353 
2360 float GetObjectX(int id);
2361 
2368 float GetWaypointX(object waypoint);
2369 
2376 float GetObjectY(int id);
2377 
2384 float GetWaypointY(object waypoint);
2385 
2392 float GetObjectZ(int id);
2393 
2402 int GetDirection(int id);
2403 
2411 void MoveObject(int id, float x, float y);
2412 
2420 void MoveWaypoint(object waypoint, float x, float y);
2421 
2430 void Raise(int id, float z);
2431 
2442 void LookWithAngle(int id, int angle);
2450 void PushObjectTo(int id, float x, float y);
2451 
2464 void PushObject(int id, float magnitude, float x, float y);
2465 
2477 int GetLastItem(int id);
2478 
2491 int GetPreviousItem(int id);
2492 
2500 int HasItem(int holder, int item);
2501 
2510 int GetHolder(int item);
2511 
2519 int Pickup(int id, int item);
2520 
2528 int Drop(int id, int item);
2529 
2537 int HasClass(int id, string className);
2538 
2545 void Unused50();
2546 
2554 int HasEnchant(int id, string enchant);
2555 
2562 void EnchantOff(int id, string enchant);
2563 
2570 int CurrentHealth(int id);
2571 
2578 int MaxHealth(int id);
2579 
2586 void RestoreHealth(int id, int amount);
2587 
2597 float Distance(float x1, float y1, float x2, float y2);
2598 
2611 int IsVisibleTo(int object1, int object2);
2612 
2619 void Unused58(int arg1, int arg2);
2620 
2627 void Unused59(int arg1, int arg2);
2628 
2635 void Unused5a(int arg1, int arg2);
2636 
2643 void Unused5b(int arg1, int arg2);
2644 
2651 void Unused5c(int arg1, int arg2);
2652 
2659 void Unused5d(int arg1, int arg2);
2660 
2670 int Unused5e(string str);
2671 
2682 int GetCharacterData(int idx);
2683 
2690 void LookAtObject(int id, int target);
2691 
2699 void Walk(int id, float x, float y);
2700 
2708 void GroupWalk(object objectGroup, float x, float y);
2709 
2716 int CancelTimer(int id);
2717 
2730 void Effect(string effect, float x1, float y1, float x2, float y2);
2731 
2745 void SetOwner(int owner, int target);
2746 
2755 void GroupSetOwner(int owner, object targets);
2756 
2765 void SetOwners(object owners, int target);
2766 
2775 void GroupSetOwners(object owners, object targets);
2776 
2784 int IsOwnedBy(int id, int target);
2785 
2793 int GroupIsOwnedBy(int id, object target);
2794 
2802 int IsOwnedByAny(object objectGroup, int target);
2803 
2811 int GroupIsOwnedByAny(object objectGroup, object target);
2812 
2818 void ClearOwner(int id);
2819 
2826 object Waypoint(string name);
2827 
2834 object WaypointGroup(string name);
2835 
2842 object ObjectGroup(string name);
2843 
2850 object WallGroup(string name);
2851 
2863 void ChatTimerSeconds(int id, string message, int duration);
2864 
2876 void ChatTimer(int id, string message, int duration);
2877 
2884 void Unused74(int arg1, int arg2);
2885 
2891 void DestroyChat(int id);
2892 
2896 void DestroyEveryChat();
2897 
2904 void SetQuestStatus(int status, string name);
2905 
2912 void SetQuestStatusFloat(float status, string name);
2913 
2920 int GetQuestStatus(string name);
2921 
2928 float GetQuestStatusFloat(string name);
2929 
2940 void ResetQuestStatus(string name);
2941 
2948 int IsTrigger(int id);
2949 
2956 int IsCaller(int id);
2957 
2973 void SetDialog(int id, string type, function start, function end);
2974 
2980 void CancelDialog(int id);
2981 
2988 void StoryPic(int id, string name);
2989 
3003 void TellStory(string audio, string story);
3004 
3014 void StartDialog(int npc, int other);
3015 
3026 void CastSpellObjectObject(string spell, int source, int target);
3027 
3036 void CastSpellObjectLocation(string spell, int source, float x, float y);
3037 
3046 void CastSpellLocationObject(string spell, float x, float y, int target);
3047 
3057 void CastSpellLocationLocation(string spell, float x1, float y1, float x2, float y2);
3058 
3062 void UnBlind();
3063 
3067 void Blind();
3068 
3072 void WideScreen(int value);
3073 
3080 int GetElevatorStatus(int id);
3081 
3095 void CreatureGuard(int id, float x1, float y1, float x2, float y2, float distance);
3096 
3109 void CreatureGroupGuard(object objectGroup, float x1, float y1, float x2, float y2, float distance);
3110 
3116 void CreatureHunt(int id);
3117 
3123 void CreatureGroupHunt(object objectGroup);
3124 
3130 void CreatureIdle(int id);
3131 
3137 void CreatureGroupIdle(object objectGroup);
3138 
3148 void CreatureFollow(int id, int target);
3149 
3159 void CreatureGroupFollow(object objectGroup, int target);
3160 
3170 void AggressionLevel(int id, float level);
3171 
3181 void GroupAggressionLevel(object objectGroup, float level);
3182 
3190 void HitLocation(int id, float x, float y);
3191 
3199 void GroupHitLocation(object objectGroup, float x, float y);
3200 
3208 void HitFarLocation(int id, float x, float y);
3209 
3217 void GroupHitFarLocation(object objectGroup, float x, float y);
3218 
3225 void SetRoamFlag(int id, int flags);
3226 
3233 void GroupSetRoamFlag(object objectGroup, int flags);
3234 
3241 void Attack(int id, int target);
3242 
3249 void GroupAttack(object objectGroup, int target);
3250 
3272 void JournalEntry(int id, string message, int type);
3273 
3284 void JournalDelete(int id, string message);
3285 
3297 void JournalEdit(int id, string message, int type);
3298 
3308 void RetreatLevel(int id, float percent);
3309 
3319 void GroupRetreatLevel(object objectGroup, float percent);
3320 
3330 void ResumeLevel(int id, float percent);
3331 
3341 void GroupResumeLevel(object objectGroup, float percent);
3342 
3350 void RunAway(int id, int target, int duration);
3351 
3359 void GroupRunAway(object objectGroup, int target, int duration);
3360 
3367 void PauseObject(int id, int duration);
3368 
3375 void GroupPauseObject(object objectGroup, int duration);
3376 
3383 int IsAttackedBy(int id1, int id2);
3384 
3391 int GetGold(int id);
3392 
3399 void ChangeGold(int id, int delta);
3400 
3407 int GetAnswer(int id);
3408 
3415 void GiveXp(int id, float xp);
3416 
3427 int HasSubclass(int id, string subclass);
3428 
3432 void AutoSave();
3433 
3440 void Music(int music, int volume);
3441 
3447 void StartupScreen(int arg1);
3448 
3454 int IsTalking();
3455 
3461 int GetTrigger();
3462 
3468 int GetCaller();
3469 
3475 void MakeFriendly(int id);
3476 
3482 void MakeEnemy(int id);
3483 
3489 void BecomePet(int id);
3490 
3496 void BecomeEnemy(int id);
3497 
3504 int Unknownb8(int id);
3505 
3512 int Unknownb9(int id);
3513 
3526 void SetHalberd(int upgrade);
3527 
3533 void DeathScreen(int which);
3534 
3541 void Frozen(int id, int frozen);
3542 
3548 void NoWallSound(int noWallSound);
3549 
3573 void SetCallback(int id, int idx, function callback);
3574 
3581 void DeleteObjectTimer(int id, int delay);
3582 
3591 void TrapSpells(int id, string spell1, string spell2, string spell3);
3592 
3600 int IsTrading();
3601 
3607 void ClearMessages(int id);
3608 
3615 void SetShopkeeperText(int id, string text);
3616 
3620 void Unknownc4();
3621 
3628 int IsSummoned(int id);
3629 
3635 void ZombieStayDown(int id);
3636 
3642 void ZombieGroupStayDown(object objectGroup);
3643 
3649 void RaiseZombie(int id);
3650 
3656 void RaiseZombieGroup(object objectGroup);
3657 
3661 void MusicPushEvent();
3662 
3666 void MusicPopEvent();
3667 
3671 void MusicEvent();
3672 
3679 int IsGameBall(int id);
3680 
3687 int IsCrown(int id);
3688 
3694 void EndGame(int type);
3695 
3701 void ImmediateBlind();
3702 
3709 void ChangeScore(int id, int score);
3710 
3717 int GetScore(int id);
void PauseObject(int id, int duration)
Pause an object temporarily.
void DeathScreen(int which)
Show death screen.
void DestroyChat(int id)
Destroys object's speech bubble.
int GetHost()
Get host's player object.
int FrameTimer(int frames, function callback)
Create a timer with delay in frames.
void GroupLookAtDirection(object objectGroup, int direction)
Cause objects in a group to look in a direction.
void WallToggle(object wall)
Toggle a wall.
void JournalDelete(int id, string message)
Delete entry from player's journal.
void Move(int id, object waypoint)
Move an object to a waypoint.
void GroupMove(object objectGroup, object waypoint)
Move objects in a group to a waypoint.
int IsOwnedByAny(object objectGroup, int target)
Get whether target is owned by any object in the group.
int SecondTimerWithArg(int seconds, any argument, function callback)
Create a timer with delay in seconds with an argument.
int GetCaller()
Get OTHER if valid.
void CastSpellObjectObject(string spell, int source, int target)
Casts a spell from source to target.
int IsTalking()
Get whether host is talking.
void Music(int music, int volume)
Plays music.
void AggressionLevel(int id, float level)
Set creature's aggression level.
void WayPointToggle(object waypoint)
Toggle whether waypoint is disabled.
void Walk(int id, float x, float y)
Causes an object to walk to a location.
void WallGroupOpen(object wallGroup)
Open walls in a group.
void Damage(int target, int source, int amount, int type)
Damages an object.
int Drop(int id, int item)
Cause object to drop an item.
void Frozen(int id, int frozen)
Set frozen status of an object.
int IsCaller(int id)
Get whether object is OTHER.
int GetScore(int id)
Get player object's score.
void GroupCreateMover(object objectGroup, object waypoint, float speed)
Creates a Mover for every object in a group.
void GroupRunAway(object objectGroup, int target, int duration)
Cause creatures to run away from target.
void UnlockDoor(int id)
Unlock a door.
void LookAtObject(int id, int target)
Set direction of object so it is looking at another object.
void WallGroupToggle(object wallGroup)
Toggle walls in a group.
void MoveObject(int id, float x, float y)
Set an object's location.
int CancelTimer(int id)
Cancel a timer.
void CreatureHunt(int id)
Cause creature to hunt.
void GroupHitLocation(object objectGroup, float x, float y)
Melee attack a location.
void DestroyEveryChat()
Destroys all speech bubbles.
float Distance(float x1, float y1, float x2, float y2)
Calculate distance between two locations.
int IsWaypointOn(object waypoint)
Get whether waypoint is enabled.
void CastSpellLocationObject(string spell, float x, float y, int target)
Casts a spell from source to target.
int IsOwnedBy(int id, int target)
Get whether target is owned by object.
int IsSummoned(int id)
Gets whether object is a summoned creature.
AudioEvent
Audio events.
Definition: builtins.h:433
void GroupSetRoamFlag(object objectGroup, int flags)
Set roaming flags.
float GetQuestStatusFloat(string name)
Get quest status (int).
void Chat(int id, string message)
Cause an object to say a localized string.
float GetObjectZ(int id)
Get object Z coordinate.
void LockDoor(int id)
Lock a door.
void GroupAwardSpell(object objectGroup, string spell)
Award spell level to objects in a group.
void UnBlind()
Unblind the host.
const int SELF
SELF object id.
Definition: builtins.h:422
void MakeFriendly(int id)
Set object friendly with host.
void CreatureFollow(int id, int target)
Cause creature to follow an object.
void Blind()
Blind the host.
void SetRoamFlag(int id, int flags)
Set roaming flags.
void SetCallback(int id, int idx, function callback)
Set a callback on an object.
const int TRUE
TRUE value.
Definition: builtins.h:416
void PushObject(int id, float magnitude, float x, float y)
Push an object from a vector and magnitude.
void Print(string message)
Display a localized string.
void GroupEnchant(int id, string enchant, float duration)
Grant objects in a group an enchantment.
int GetAnswer(int id)
Get answer from conversation.
void LookWithAngle(int id, int angle)
Set an object's direction.
void WallClose(object wall)
Close a wall.
void WallGroupBreak(object wallGroup)
Breaks walls in a group.
int HasSubclass(int id, string subclass)
Get whether object has subclass.
int SecondTimer(int seconds, function callback)
Create a timer with delay in seconds.
void ObjectOn(int id)
Enable an object.
void ChangeGold(int id, int delta)
Change amount of gold for player object.
int Pickup(int id, int item)
Cause object to pickup an item.
string IntToString(int number)
Convert an integer to a string.
void MusicEvent()
void ObjectGroupToggle(object objectGroup)
Toggle whether objects in group are disabled.
void StartDialog(int npc, int other)
Starts a conversation between two objects.
void WayPointOff(object waypoint)
Disable a waypoint.
void AutoSave()
Trigger an autosave. Only solo games.
int FrameTimerWithArg(int frames, any argument, function callback)
Create a timer with delay in frames with an argument.
void SetDialog(int id, string type, function start, function end)
Setup a conversation with object.
void CreatureGroupFollow(object objectGroup, int target)
Cause creatures in a group to follow an object.
void LookAtDirection(int id, int direction)
Cause object to look in a direction.
void GroupSetOwner(int owner, object targets)
Set the owner of objects in a group.
int CurrentHealth(int id)
Get object's health.
Subclass
Subclass names.
Definition: builtins.h:1676
void BecomePet(int id)
Set object as pet of host.
int HasEnchant(int id, string enchant)
Get whether object has an enchant.
void ObjectOff(int id)
Disable an object.
void CreatureGroupIdle(object objectGroup)
Cause creatures in a group to idle.
float GetWaypointX(object waypoint)
Get waypoint X coordinate.
void TrapSpells(int id, string spell1, string spell2, string spell3)
Set spells on a bomber.
void CreatureGroupHunt(object objectGroup)
Cause creatures in a group to hunt.
void WideScreen(int value)
void ChangeScore(int id, int score)
Change player object's score.
void SetQuestStatusFloat(float status, string name)
Set quest status (float).
void CreatureGroupGuard(object objectGroup, float x1, float y1, float x2, float y2, float distance)
Cause creatures in a group to guard a location.
object WallGroup(string name)
Lookup wall group by name.
void SetShopkeeperText(int id, string text)
Set shopkeeper text.
void StoryPic(int id, string name)
Assigns a picture to a conversation.
void ClearMessages(int id)
Clear messages on player's screen.
void EndGame(int type)
End of game.
int Object(string name)
Lookup an object by name.
int MaxHealth(int id)
Get object's maximum health.
int GetPreviousItem(int id)
Get previous inventory item.
int IsTrigger(int id)
Get whether object is SELF.
void SetHalberd(int upgrade)
Upgrade host's oblivion staff.
void WallOpen(object wall)
Open a wall.
int IsVisibleTo(int object1, int object2)
Gets whether an object can see another object.
void SetQuestStatus(int status, string name)
Set quest status (int).
int IsTrading()
Get whether the host is currently trading.
void GroupWalk(object objectGroup, float x, float y)
Causes objects in a group to walk to a location.
object ObjectGroup(string name)
Lookup object group by name.
int GetTrigger()
Get SELF if valid.
void WayPointGroupOff(object waypointGroup)
Disable waypoints in a group.
void ClearOwner(int id)
Clear the owner of an object.
void WallBreak(object wall)
Breaks a wall.
int Unknownb9(int id)
int IsCrown(int id)
Get whether object is a Crown.
void JournalEdit(int id, string message, int type)
Edit entry in player's journal.
void GroupResumeLevel(object objectGroup, float percent)
Set when creature resumes due to health.
void ObjectGroupOn(object objectGroup)
Enable objects in a group.
void ZombieStayDown(int id)
Set zombie to stay down.
float GetWaypointY(object waypoint)
Get waypoint Y coordinate.
void GroupRetreatLevel(object objectGroup, float percent)
Set when creature retreats due to low health.
int CreateObject(string type, object waypoint)
Create an object at a location.
const int OTHER
OTHER object id.
Definition: builtins.h:428
void ResumeLevel(int id, float percent)
Set when creature resumes due to health.
void GroupDamage(object targetGroup, int source, int amount, int type)
Damages objects in a group.
void SetOwner(int owner, int target)
Set the owner of an object.
string FloatToString(float number)
Convert a float to a string.
DamageType
Damange types.
Definition: builtins.h:1406
object WaypointGroup(string name)
Lookup waypoint group by name.
void RestoreHealth(int id, int amount)
Restore object's health.
void ObjectToggle(int id)
Toggle whether object is disabled.
int GetQuestStatus(string name)
Get quest status (int).
void PrintToAll(string message)
Display a localized string to everyone.
void ResetQuestStatus(string name)
Delete quest status.
void WayPointOn(object waypoint)
Enable a waypoint.
Effect
Effects.
Definition: builtins.h:1431
void ImmediateBlind()
Immediately blind the host.
void EnchantOff(int id, string enchant)
Remove enchant from an object.
int GroupIsOwnedBy(int id, object target)
Get whether any object in target group is owned by object.
void ChatTimer(int id, string message, int duration)
Cause an object to say a localized string for duration in frames.
void WayPointGroupToggle(object waypointGroup)
Toggle whether objects in group are disabled.
object Wall(int x, int y)
Get a pointer to a wall by its wall coordinates.
void MusicPopEvent()
int GetElevatorStatus(int id)
Get elevator status.
void HitFarLocation(int id, float x, float y)
Ranged attack a location.
void CreatureIdle(int id)
Cause creature to idle.
void WayPointGroupOn(object waypointGroup)
Enable waypoints in a group.
void Wander(int id)
Cause an object to wander.
void CreatureGuard(int id, float x1, float y1, float x2, float y2, float distance)
Cause a creature to guard a location.
void ZombieGroupStayDown(object objectGroup)
Set group of zombies to stay down.
void WallGroupClose(object wallGroup)
Close walls in a group.
void CastSpellObjectLocation(string spell, int source, float x, float y)
Casts a spell from source to target.
Spell
Spell names.
Definition: builtins.h:1532
void GroupDelete(object objectGroup)
Delete objects in a group.
Enchant
Enchants.
Definition: builtins.h:1478
void GroupPauseObject(object objectGroup, int duration)
Pause objects of a group temporarily.
void MoveWaypoint(object waypoint, float x, float y)
Set a waypoint's location.
void Attack(int id, int target)
Attack an object.
void HitLocation(int id, float x, float y)
Melee attack a location.
void ObjectGroupOff(object objectGroup)
Disable objects in a group.
Class
Class names.
Definition: builtins.h:1367
int IsGameBall(int id)
Get whether object is a GameBall.
float GetObjectY(int id)
Get object Y coordinate.
void GroupWander(object objectGroup)
Cause objects in a group to wander.
void TellStory(string audio, string story)
Causes the telling of a story.
int HasClass(int id, string className)
Get whether object has a class.
void RaiseZombieGroup(object objectGroup)
Raise a zombie. Also clears stay down state.
void GroupHitFarLocation(object objectGroup, float x, float y)
Ranged attack a location.
int GetLastItem(int id)
Get object's last inventory item.
void BecomeEnemy(int id)
Unset object as pet of host.
int IsObjectOn(int id)
Get whether object is enabled.
int Random(int min, int max)
Random number (int).
void GroupAttack(object objectGroup, int target)
Attack an object.
int AwardSpell(int id, string spell)
Award spell level to object.
void RaiseZombie(int id)
Raise a zombie. Also clears stay down state.
void CastSpellLocationLocation(string spell, float x1, float y1, float x2, float y2)
Casts a spell from source to target.
void GroupAggressionLevel(object objectGroup, float level)
Set group of creature's aggression level.
int GetGold(int id)
Get amount of gold for player object.
void JournalEntry(int id, string message, int type)
Add entry to player's journal.
void ChatTimerSeconds(int id, string message, int duration)
Cause an object to say a localized string for duration in seconds.
object Waypoint(string name)
Lookup waypoint by name.
float RandomFloat(float min, float max)
Random number (float).
void GroupSetOwners(object owners, object targets)
Set the objects in a group as owners of target.
int Unknownb8(int id)
void GiveXp(int id, float xp)
Grant experience to a player.
void DeleteObjectTimer(int id, int delay)
Delete object after a delay.
int IsAttackedBy(int id1, int id2)
Get whether object1 is being attacked by object2.
void StartupScreen(int arg1)
Show startup screen to host.
void SetOwners(object owners, int target)
Set the objects in a group as owners of target.
float GetObjectX(int id)
Get object X coordinate.
int GetCharacterData(int idx)
Get character data.
int GetHolder(int item)
Get the holder of an item.
void MusicPushEvent()
void GoBackHome(int id)
Cause object to move to its starting location.
int GetDirection(int id)
Get object direction.
int HasItem(int holder, int item)
Get whether the item is in the object's inventory.
void StopScript(any value)
Exit current script function.
void Delete(int id)
Delete an object.
void RetreatLevel(int id, float percent)
Set when creature retreats due to low health.
const int FALSE
FALSE value.
Definition: builtins.h:412
void CancelDialog(int id)
Cancel a conversation with object.
int CreateMover(int id, object waypoint, float speed)
Creates a Mover for an object.
void Raise(int id, float z)
Set an object's Z coordinate.
int GroupIsOwnedByAny(object objectGroup, object target)
Get whether any object in target is owned by any object in the group.
void MakeEnemy(int id)
Unset object as friendly.
void NoWallSound(int noWallSound)
Set no wall sound flag.
void Unknownc4()
void RunAway(int id, int target, int duration)
Cause creature to run away from target.
int IsLocked(int id)
Get whether object is locked.
void PushObjectTo(int id, float x, float y)
Push an object to a location.
Direction
Facing directions.
Definition: builtins.h:1517