Difference between revisions of "Script/LogicEnums"
From SF3
(→EHeroPartyEvent) |
(→EHeroPartyEvent) |
||
Line 105: | Line 105: | ||
==EHeroPartyEvent== | ==EHeroPartyEvent== | ||
− | Loot | + | Loot // A hero opens a loot container |
− | Talk | + | Talk // A hero talks to another character |
− | Switch | + | Switch // A hero interacts with a switch |
− | Examine | + | Examine // A hero interacts with any other object type |
− | Interact | + | Interact // Triggered by any interaction of a hero, including all of the above. |
− | Killed | + | Killed // A hero is killed |
− | Wiped | + | Wiped // All heroes are dead simultaneously |
− | LevelUp | + | LevelUp // The hero party gains a new level |
− | AllInside | + | AllInside // The entire hero party is within a given trigger |
− | AllOutside // The entire hero party is outside a given trigger | + | AllOutside // The entire hero party is outside a given trigger |
− | AnyInside | + | AnyInside // Any party member enters a given trigger |
− | AnyOutside // Any party member leaves a given trigger | + | AnyOutside // Any party member leaves a given trigger |
− | HeroJoined // A new hero has joined the party | + | HeroJoined // A new hero has joined the party |
− | HeroLeft | + | HeroLeft // A hero has left the party |
==EInventoryEvent== | ==EInventoryEvent== |
Revision as of 15:25, 29 September 2016
Contents
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