Funktionen: Unterschied zwischen den Versionen
Aus Sternenschweif Wiki
(60 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | + | [[Category:Modding]] | |
+ | =Übersicht über verfügbare Funktionen= | ||
+ | Hier sollen vor allem die speziell für Schickalsklinge erstellten Funktionen, mit denen aus den XMLs auf den Engine-Code zugegriffen werden kann, erläutert werden. | ||
− | + | Anwendbar sind diese in [[Dialoge|Dialogen]] in und außerhalb der [[Hauptfunktionen]], außerdem in den [[Charakter-Effekte|Effekten]], dem [[:Kategorie:Kampfscripting|Kampf]] sowie im [[Dungeon Kontrollscript|Dungeon-Script]]. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | == Allgemein verfügbar == | ||
+ | <table><tr><td valign="top" width="250"> | ||
+ | * [[activateInterval]] | ||
+ | * [[Limbo|addCharacterLimbo]] | ||
+ | * [[addCompanion]] | ||
+ | * [[addEffect]] | ||
+ | * <strike>[[addMappiece]]</strike> (veraltet) | ||
+ | * [[autoSave]] | ||
+ | * [[awardXP]] | ||
+ | * [[breakInventoryItem]] | ||
+ | * [[callControlFunction]] | ||
+ | * [[callControlFunctionString]] | ||
+ | * [[canAct]] | ||
+ | * [[castNpcAnalues]] | ||
+ | * [[chooseItem]] | ||
+ | * [[chooseSingleCharacter]] | ||
+ | * [[chooseSingleCharacterEx]] | ||
+ | * [[consoleLog]] | ||
+ | * [[continueJourney]] | ||
+ | * [[damageCurrentWeapon]] | ||
+ | * [[deactivateInterval]] | ||
* [[dealDamage]] | * [[dealDamage]] | ||
− | + | * [[debugLog]] | |
− | * [[ | + | * [[errorLog]] |
− | + | * [[fillUsesType]] | |
− | * [[ | + | * [[findInventoryItem]] |
− | + | * [[findInventoryItemAt]] | |
− | * [[ | + | * [[findRitualEnchantment]] |
− | + | * [[findRopeLength]] | |
+ | </td><td width="250" valign="top"> | ||
+ | * [[gameover]] | ||
* [[generateRandomName]] | * [[generateRandomName]] | ||
− | + | * [[getBest / getWorst]] | |
− | * [[ | + | * [[getBuildingState / setBuildingState]] |
− | + | * [[getCharAttribute / modifyCharAttribute]] | |
− | * [[ | + | * [[getCharClass]] |
− | + | * [[getCharEffect]] | |
− | * [[ | + | * [[getCharEffects]] |
− | + | * [[getCharSchool]] | |
− | * [[ | + | * [[getCharSkill / modifyCharSkill]] |
− | + | * [[getCharSpell]] | |
+ | * [[getCharUniqueId]] | ||
+ | * [[getCharidByUniqueId]] | ||
+ | * [[getChosenItem]] | ||
+ | * [[getCurrentSubscene]] | ||
+ | * [[getDateDay]] | ||
+ | * [[getDateSeason]] | ||
+ | * [[getDateTime]] | ||
+ | * [[getDateWeekday]] | ||
* [[getEquipped]] | * [[getEquipped]] | ||
− | + | * [[getGender]] | |
− | * [[ | + | * [[getGeneralState / setGeneralState]] |
− | + | * [[getGodGrace]] | |
+ | * [[getHintKnown]] | ||
+ | * [[getItemset]] | ||
+ | * [[getKeywordState]] | ||
+ | * [[getLangString]] | ||
+ | * [[getLeaderID]] | ||
+ | * [[getLangString|getLoca]] | ||
+ | </td><td width="250" valign="top"> | ||
+ | * [[Limbo|getLimboCount]] | ||
+ | * [[Limbo|getLimboInfo]] | ||
+ | * <strike>[[getMappieceCount]]</strike> (veraltet) | ||
+ | * [[getLocation]] | ||
+ | * [[getLocationState / setLocationState]] | ||
+ | * [[getModifier]] | ||
+ | * [[getName]] | ||
+ | * [[getNumber]] | ||
+ | * [[getNumberDlg]] | ||
* [[getPartyCount]] | * [[getPartyCount]] | ||
− | + | * [[getPartyEffect]] | |
+ | * [[getPartyLevel]] | ||
+ | * [[getQuestState / setQuestState]] | ||
+ | * [[getRandomCharId]] | ||
+ | * [[getRouteState / setRouteState]] | ||
+ | * [[getRotation]] | ||
+ | * [[getSpecialState / setSpecialState]] | ||
+ | * [[getStatFloat]] | ||
+ | * [[getStatInt]] | ||
+ | * [[getTime]] | ||
+ | * [[getTimeString]] | ||
+ | * [[getTotalPartyCount]] | ||
+ | * [[getWealth / changeWealth]] | ||
+ | * [[giveItem]] | ||
+ | * [[giveItemTo]] | ||
+ | * [[hasCompanion]] | ||
+ | * [[hasEffect]] | ||
+ | </td><td width="250" valign="top"> | ||
+ | * [[hasHuntingWeapon]] | ||
+ | * [[healDamage]] | ||
+ | * [[hideImage]] | ||
+ | * [[incrementStatFloat]] | ||
+ | * [[incrementStatInt]] | ||
* [[isAlive]] | * [[isAlive]] | ||
− | + | * [[isCompanion]] | |
− | * [[ | + | * [[jumpToLocation]] |
− | + | * [[leaveLocation]] | |
− | * [[ | + | * [[lockKeyword / unlockKeyword]] |
− | + | * [[modifyCharSpell]] | |
+ | * [[modifyGodGrace]] | ||
+ | * [[modifyHunger]] | ||
+ | * [[modifyInventoryItem]] | ||
+ | * [[modifyThirst]] | ||
+ | * [[OnTimePassed]] | ||
+ | * [[passTime]] | ||
+ | * [[playAmbient]] | ||
+ | * [[playFX]] | ||
+ | * [[playVO]] | ||
+ | * [[playVOVariant]] | ||
+ | * [[printSpecialStates]] | ||
+ | * [[releaseTrap]] | ||
+ | * [[removeCharacter]] | ||
+ | * [[Limbo|removeCharacterLimbo]] | ||
+ | * [[removeChosenItem]] | ||
* [[removeCompanion]] | * [[removeCompanion]] | ||
− | + | * [[removeEffect]] | |
− | * [[ | + | |
− | + | ||
− | + | ||
− | + | ||
* [[removeInventoryItem]] | * [[removeInventoryItem]] | ||
+ | * [[replaceItem]] | ||
+ | * [[rollCheck]] | ||
+ | * [[rollRandom]] | ||
+ | </td><td width="250" valign="top"> | ||
+ | * [[round]] | ||
+ | * [[saveJourney]] | ||
+ | * [[setAchievement]] | ||
+ | * [[setDialogueImage]] | ||
+ | * [[setDialogueBackground]] | ||
+ | * [[setDialogueAlign]] | ||
+ | * [[setHeadline]] | ||
+ | * [[setHunger]] | ||
+ | * [[setInsideScene]] | ||
+ | * [[setISCharacter]] | ||
+ | * [[setMenuItem]] | ||
+ | * [[getJourneyState / setJourneyState|setJourneyState]] | ||
+ | * [[setQuestStateInconly]] | ||
+ | * [[setThirst]] | ||
+ | * [[showDialogue]] | ||
+ | * [[showImage]] | ||
+ | * [[showItemContainer]] | ||
+ | * [[showItemset]] | ||
+ | * [[showItemsetList]] | ||
+ | * [[showMessage]] | ||
+ | * [[showTrader]] | ||
+ | * [[splitLeaveCharacter]] | ||
+ | * [[splitLeaveGroup]] | ||
+ | * [[startBattle]] | ||
+ | * [[startDialogue]] | ||
+ | * [[startDialogueAt]] | ||
+ | * [[startDialogueCallback]] | ||
+ | * [[startdlg]] | ||
+ | * [[startKeywordDialogue]] | ||
+ | </td></tr></table> | ||
+ | <table><tr><td valign="top" width="300"> | ||
− | * [[ | + | == Nur auf Reisen == |
− | + | * [[consumeHuntingAmmo]] | |
− | * [[ | + | * [[forceRouteEvent]] |
− | + | * [[forceCamp]] | |
− | * [[ | + | * [[getJourneyState / setJourneyState|getJourneyState]] |
− | + | * [[getCurrentRoute]] | |
− | * [[ | + | * [[getCurrentRouteType]] |
− | + | * [[turnAround]] | |
− | * [[ | + | ''Nicht nur "Karte aufgerufen in einem Dorf", |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ''sondern tatsächlich "auf Reisen befindlich"! | |
+ | </td><td valign="top" width="300"> | ||
+ | == Nur in Dörfern == | ||
+ | * [[getCurrentTriggerData]] | ||
+ | * [[getTownTip]] | ||
+ | * [[modifyLocationTrigger]] | ||
+ | * [[generateRandomInhabitantName]] | ||
+ | </td><td valign="top" width="300"> | ||
+ | == Nur in Dungeons == | ||
+ | * [[activateStair]] | ||
+ | * [[forceDoorState]] | ||
+ | * [[getCurrentTrigger]] | ||
+ | * [[getDoorState]] | ||
+ | * [[getDungeonObjectState]] | ||
+ | * [[getTriggerState]] | ||
+ | * [[lookAtDIO]] | ||
+ | * [[lookAtTrigger]] | ||
+ | * [[modifyLocationTrigger]] | ||
+ | * [[moveToTrigger]] | ||
+ | * [[setDungeonObjectState]] | ||
+ | * [[setDoorState]] | ||
+ | * [[setTriggerState]] | ||
+ | * [[showItemset]] | ||
+ | * [[teleportToTrigger]]</td> | ||
+ | <td valign="top" width="300"> | ||
+ | == Nur in Kämpfen == | ||
+ | * [[BattleArenaEditor#Skriptbefehle|battleSetSize]] | ||
+ | * [[BattleArenaEditor#Skriptbefehle|battleAddNPCStart]] | ||
+ | * [[BattleArenaEditor#Skriptbefehle|battleSetPlayerStart]] | ||
+ | * [[BattleArenaEditor#Skriptbefehle|battlePlaceObject]] | ||
+ | * [[battleRandomize]] und [[BattleArenaEditor#Skriptbefehle|battleRandomize]] | ||
+ | * [[battleCustomRandomize]] | ||
+ | * [[BattleArenaEditor#Skriptbefehle|battleSetSinglePlayerStart]] | ||
+ | * [[BattleArenaEditor#Skriptbefehle|battleSetSingleNPCStart]] | ||
+ | * [[AddBattleEffect]] | ||
+ | * [[EndBattle]] | ||
+ | * [[GetBattleCharacter]] | ||
+ | * [[GetInitiativeQueue]] | ||
+ | * [[GetBattlefieldInfo]] | ||
+ | * [[GetCurrentBC]] | ||
+ | * [[SkipTurn]] | ||
+ | * [[ResumeBattle]] | ||
− | + | </td> | |
+ | <td valign="top" width="300"> | ||
+ | == Nur in InsideScenes == | ||
+ | * [[PlayInsideCutscene]] | ||
+ | </td> | ||
+ | </tr></table> |
Aktuelle Version vom 17. März 2019, 13:15 Uhr
Inhaltsverzeichnis
Übersicht über verfügbare Funktionen
Hier sollen vor allem die speziell für Schickalsklinge erstellten Funktionen, mit denen aus den XMLs auf den Engine-Code zugegriffen werden kann, erläutert werden.
Anwendbar sind diese in Dialogen in und außerhalb der Hauptfunktionen, außerdem in den Effekten, dem Kampf sowie im Dungeon-Script.
Allgemein verfügbar
Nur auf Reisen
Nicht nur "Karte aufgerufen in einem Dorf", sondern tatsächlich "auf Reisen befindlich"! |
Nur in Dörfern |
Nur in Dungeons |
Nur in Kämpfen |
Nur in InsideScenes |