Difference between revisions of "Script/LogicEnums"

From SF3
Jump to: navigation, search
(EHeroPartyEvent)
Line 25: Line 25:
  
 
==EResource==
 
==EResource==
 +
Types of RTS resources in the game.
 
   Wood
 
   Wood
 
   Planks
 
   Planks
Line 105: Line 106:
  
 
==EHeroPartyEvent==
 
==EHeroPartyEvent==
 +
Event types which may be triggered by the hero party.
 
   Loot        // A hero opens a loot container
 
   Loot        // A hero opens a loot container
 
   Talk        // A hero talks to another character
 
   Talk        // A hero talks to another character
Line 150: Line 152:
 
   ResetTutorials
 
   ResetTutorials
 
   PlayerMarker
 
   PlayerMarker
 +
 +
==EQuestState==
 +
Possible states of a quest or quest task.
 +
  Unfinished  // The quest or task has not been finished yet.
 +
  Completed    // The quest or task has been completed successfully.
 +
  Failed      // The quest or task has not been fulfilled.

Revision as of 13:23, 26 October 2016

EEntityType

 Static
 Creature
 Building
 Effect
 ResourceDeposit
 LogicObject
 Invalid

EDamageType

 Pierce
 Slash
 Blunt
 Thrust
 Crush
 Siege
 Fire
 Ice
 Air
 White
 Black
 Arcane
 Irresistible
 Undefined

EResource

Types of RTS resources in the game.

 Wood
 Planks
 Stone
 Brick
 IronOre
 Iron
 IronBar
 BlackAsh
 BlackAshPackage
 BlackAshPotion
 Fish
 Meat
 Food
 Lenya
 LenyaPackage
 LenyaEssence
 Aria
 AriaCask
 DistilledAria
 None

EBuildingType

 Default
 SectorCenter
 ResourceCollector
 ResourceProducer
 UnitProducer
 Sentry
 CreepSpawn
 Charge

EBuildingStage

 Planned
 Construction
 Completed
 Remains

ECreatureType

 Character
 Summon
 Unit
 Mob
 Animal
 Worker
 Founder

ELogicObjectType

 Container
 NavBlocker
 Switch
 QuestMarker

EFactionRelation

 Allied
 Hostile
 Neutral

EItemSlot

 None
 PrimaryHand
 SecondaryHand
 Head
 Neck
 Torso
 Ring1
 Ring2
 Holster
 Item

ECreatureEquipMode

 Give           // Give item to creature. If a previous item was equipped, move it to inventory. 
 FromInventory  // Take item to equip from inventory. Do nothing if the item is not in the inventory. If a previous item was equipped, move to inventory.
 Replace        // Replace item in given slot, effectively destroying the currently equipped item.

ECreatureUnequipMode

 Remove          // Remove the item from the given slot, effectively destroying it.
 AddToInventory  // Add the unequipped item to the party inventory.
 Drop            // Drop the unequipped item at the creature's feet.

EHeroPartyEvent

Event types which may be triggered by the hero party.

 Loot        // A hero opens a loot container
 Talk        // A hero talks to another character
 Switch      // A hero interacts with a switch
 Examine     // A hero interacts with any other object type
 Interact    // Triggered by any interaction of a hero, including all of the above.
 Killed      // A hero is killed
 Wiped       // All heroes are dead simultaneously
 LevelUp     // The hero party gains a new level
 AllInside   // The entire hero party is within a given trigger
 AllOutside  // The entire hero party is outside a given trigger
 AnyInside   // Any party member enters a given trigger
 AnyOutside  // Any party member leaves a given trigger
 HeroJoined  // A new hero has joined the party
 HeroLeft    // A hero has left the party

EInventoryEvent

 Added
 Removed
 Used
 Read

ECreatureEvent

 Killed
 Damaged
 Resurrected
 EnteredArea
 LeftArea

EBuildingEvent

 Placed
 Completed
 Destroyed
 Charged
 ProductionStarted
 ProducationStalled
 ProductionFinished

ESectorEvent

 OwnerChanged

EUIEvent

 EntitySelected
 EnableTutorials
 ResetTutorials
 PlayerMarker

EQuestState

Possible states of a quest or quest task.

 Unfinished   // The quest or task has not been finished yet.
 Completed    // The quest or task has been completed successfully.
 Failed       // The quest or task has not been fulfilled.

EEntityType

 Static
 Creature
 Building
 Effect
 ResourceDeposit
 LogicObject
 Invalid

EDamageType

 Pierce
 Slash
 Blunt
 Thrust
 Crush
 Siege
 Fire
 Ice
 Air
 White
 Black
 Arcane
 Irresistible
 Undefined

EResource

 Wood
 Planks
 Stone
 Brick
 IronOre
 Iron
 IronBar
 BlackAsh
 BlackAshPackage
 BlackAshPotion
 Fish
 Meat
 Food
 Lenya
 LenyaPackage
 LenyaEssence
 Aria
 AriaCask
 DistilledAria
 None

EBuildingType

 Default
 SectorCenter
 ResourceCollector
 ResourceProducer
 UnitProducer
 Sentry
 CreepSpawn
 Charge

EBuildingStage

 Planned
 Construction
 Completed
 Remains

ECreatureType

 Character
 Summon
 Unit
 Mob
 Animal
 Worker
 Founder

ELogicObjectType

 Container
 NavBlocker
 Switch
 QuestMarker

EFactionRelation

 Allied
 Hostile
 Neutral

EItemSlot

 None
 PrimaryHand
 SecondaryHand
 Head
 Neck
 Torso
 Ring1
 Ring2
 Holster
 Item

ECreatureEquipMode

 Give           // Give item to creature. If a previous item was equipped, move it to inventory. 
 FromInventory  // Take item to equip from inventory. Do nothing if the item is not in the inventory. If a previous item was equipped, move to inventory.
 Replace        // Replace item in given slot, effectively destroying the currently equipped item.

ECreatureUnequipMode

 Remove          // Remove the item from the given slot, effectively destroying it.
 AddToInventory  // Add the unequipped item to the party inventory.
 Drop            // Drop the unequipped item at the creature's feet.

EHeroPartyEvent

 Loot        // A hero opens a loot container
 Talk        // A hero talks to another character
 Switch      // A hero interacts with a switch
 Examine     // A hero interacts with any other object type
 Interact    // Triggered by any interaction of a hero, including all of the above.
 Killed      // A hero is killed
 Wiped       // All heroes are dead simultaneously
 LevelUp     // The hero party gains a new level
 AllInside   // The entire hero party is within a given trigger
 AllOutside  // The entire hero party is outside a given trigger
 AnyInside   // Any party member enters a given trigger
 AnyOutside  // Any party member leaves a given trigger
 HeroJoined  // A new hero has joined the party
 HeroLeft    // A hero has left the party

EInventoryEvent

 Added
 Removed
 Used
 Read

ECreatureEvent

 Killed
 Damaged
 Resurrected
 EnteredArea
 LeftArea

EBuildingEvent

 Placed
 Completed
 Destroyed
 Charged
 ProductionStarted
 ProducationStalled
 ProductionFinished

ESectorEvent

 OwnerChanged

EUIEvent

 EntitySelected
 EnableTutorials
 ResetTutorials
 PlayerMarker