📄 nwscript.txt
字号:
/L11"NWScript" Line Comment = // Block Comment On = /* Block Comment Off = */ Escape Char = \ String Chars = " File Extensions = NSS
/Function String = "(^([a-z_0-9]+(*)^)"
/Function String 1 = "^([a-z_0-9]+(^)^p*);"
/Function String 2 = "^([a-z_0-9]+(*)^);"
/Indent Strings = "{"
/Unindent Strings = "}"
/C1"Preprocessor Directive"
#include
/C2"Delimiters"
(
)
{
}
/C3"Data Types"
const
effect
event
float
int
itemproperty
location
object
string
struct
talent
vector
void
/C4"Conditionals"
:
?
break
case
continue
do
else
for
if
return
switch
while
/C5"Functions"
ActionAttack
ActionCastFakeSpellAtLocation
ActionCastFakeSpellAtObject
ActionCastSpellAtLocation
ActionCastSpellAtObject
ActionCloseDoor
ActionCounterSpell
ActionDoCommand
ActionEquipItem
ActionEquipMostDamagingMelee
ActionEquipMostDamagingRanged
ActionEquipMostEffectiveArmor
ActionExamine
ActionForceFollowObject
ActionForceMoveToLocation
ActionForceMoveToObject
ActionGiveItem
ActionInteractObject
ActionJumpToLocation
ActionJumpToObject
ActionLockObject
ActionMoveAwayFromLocation
ActionMoveAwayFromObject
ActionMoveToLocation
ActionMoveToObject
ActionOpenDoor
ActionPauseConversation
ActionPickUpItem
ActionPlayAnimation
ActionPutDownItem
ActionRandomWalk
ActionRest
ActionResumeConversation
ActionSit
ActionSpeakString
ActionSpeakStringByStrRef
ActionStartConversation
ActionTakeItem
ActionUnequipItem
ActionUnlockObject
ActionUseFeat
ActionUseSkill
ActionUseTalentAtLocation
ActionUseTalentOnObject
ActionWait
ActivatePortal
AddHenchman
AddItemProperty
AddJournalQuestEntry
AddJournalWorldEntry
AddJournalWorldEntryStrref
AddToParty
AdjustAlignment
AdjustReputation
AmbientSoundChangeDay
AmbientSoundChangeNight
AmbientSoundPlay
AmbientSoundSetDayVolume
AmbientSoundSetNightVolume
AmbientSoundStop
AngleToVector
ApplyEffectAtLocation
ApplyEffectToObject
AssignCommand
BeginConversation
BlackScreen
BootPC
ChangeFaction
ChangeToStandardFaction
ClearAllActions
ClearPersonalReputation
CopyItem
CopyItemAndModify
CopyObject
CreateItemOnObject
CreateObject
DayToNight
DecrementRemainingFeatUses
DecrementRemainingSpellUses
DelayCommand
DeleteCampaignVariable
DeleteJournalWorldAllEntries
DeleteJournalWorldEntry
DeleteJournalWorldEntryStrref
DeleteLocalFloat
DeleteLocalInt
DeleteLocalLocation
DeleteLocalObject
DeleteLocalString
DestroyCampaignDatabase
DestroyObject
DoDoorAction
DoPlaceableObjectAction
DoSinglePlayerAutoSave
DoWhirlwindAttack
EffectACDecrease
EffectACIncrease
EffectAbilityDecrease
EffectAbilityIncrease
EffectAppear
EffectAreaOfEffect
EffectAttackDecrease
EffectAttackIncrease
EffectBeam
EffectBlindness
EffectCharmed
EffectConcealment
EffectConfused
EffectCurse
EffectCutsceneDominated
EffectCutsceneGhost
EffectCutsceneImmobilize
EffectCutsceneParalyze
EffectDamage
EffectDamageDecrease
EffectDamageImmunityDecrease
EffectDamageImmunityIncrease
EffectDamageIncrease
EffectDamageReduction
EffectDamageResistance
EffectDamageShield
EffectDarkness
EffectDazed
EffectDeaf
EffectDeath
EffectDisappear
EffectDisappearAppear
EffectDisease
EffectDispelMagicAll
EffectDispelMagicBest
EffectDominated
EffectEntangle
EffectEthereal
EffectFrightened
EffectHaste
EffectHeal
EffectHitPointChangeWhenDying
EffectImmunity
EffectInvisibility
EffectKnockdown
EffectLinkEffects
EffectMissChance
EffectModifyAttacks
EffectMovementSpeedDecrease
EffectMovementSpeedIncrease
EffectNegativeLevel
EffectParalyze
EffectPetrify
EffectPoison
EffectPolymorph
EffectRegenerate
EffectResurrection
EffectSanctuary
EffectSavingThrowDecrease
EffectSavingThrowIncrease
EffectSeeInvisible
EffectSilence
EffectSkillDecrease
EffectSkillIncrease
EffectSleep
EffectSlow
EffectSpellFailure
EffectSpellImmunity
EffectSpellLevelAbsorption
EffectSpellResistanceDecrease
EffectSpellResistanceIncrease
EffectStunned
EffectSummonCreature
EffectSwarm
EffectTemporaryHitpoints
EffectTimeStop
EffectTrueSeeing
EffectTurnResistanceDecrease
EffectTurnResistanceIncrease
EffectTurned
EffectUltravision
EffectVisualEffect
EndGame
EventActivateItem
EventConversation
EventSpellCastAt
EventUserDefined
ExecuteScript
ExploreAreaForPlayer
ExportAllCharacters
ExportSingleCharacter
ExtraordinaryEffect
FadeFromBlack
FadeToBlack
FeetToMeters
FindSubString
FloatToInt
FloatToString
FloatingTextStrRefOnCreature
FloatingTextStringOnCreature
ForceRest
FortitudeSave
Get2DAString
GetAC
GetAILevel
GetAbilityModifier
GetAbilityScore
GetActionMode
GetAge
GetAlignmentGoodEvil
GetAlignmentLawChaos
GetAnimalCompanionCreatureType
GetAnimalCompanionName
GetAppearanceType
GetArcaneSpellFailure
GetArea
GetAreaFromLocation
GetAreaOfEffectCreator
GetAssociate
GetAssociateType
GetAttackTarget
GetAttemptedAttackTarget
GetAttemptedSpellTarget
GetBaseAttackBonus
GetBaseItemType
GetBlockingDoor
GetCalendarDay
GetCalendarMonth
GetCalendarYear
GetCampaignFloat
GetCampaignInt
GetCampaignLocation
GetCampaignString
GetCampaignVector
GetCasterLevel
GetChallengeRating
GetClassByPosition
GetClickingObject
GetCommandable
GetCreatureHasTalent
GetCreatureSize
GetCreatureStartingPackage
GetCreatureTalentBest
GetCreatureTalentRandom
GetCurrentAction
GetCurrentHitPoints
GetCutsceneCameraMoveRate
GetCutsceneMode
GetDamageDealtByType
GetDefensiveCastingMode
GetDeity
GetDetectMode
GetDialogSoundLength
GetDistanceBetween
GetDistanceBetweenLocations
GetDistanceToObject
GetDroppableFlag
GetEffectCreator
GetEffectDurationType
GetEffectSpellId
GetEffectSubType
GetEffectType
GetEncounterActive
GetEncounterDifficulty
GetEncounterSpawnsCurrent
GetEncounterSpawnsMax
GetEnteringObject
GetExitingObject
GetFacing
GetFacingFromLocation
GetFactionAverageGoodEvilAlignment
GetFactionAverageLawChaosAlignment
GetFactionAverageLevel
GetFactionAverageReputation
GetFactionAverageXP
GetFactionBestAC
GetFactionEqual
GetFactionGold
GetFactionLeader
GetFactionLeastDamagedMember
GetFactionMostDamagedMember
GetFactionMostFrequentClass
GetFactionStrongestMember
GetFactionWeakestMember
GetFactionWorstAC
GetFamiliarCreatureType
GetFamiliarName
GetFirstEffect
GetFirstFactionMember
GetFirstInPersistentObject
GetFirstItemInInventory
GetFirstItemProperty
GetFirstObjectInArea
GetFirstObjectInShape
GetFirstPC
GetFogAmount
GetFogColor
GetFootstepType
GetFortitudeSavingThrow
GetGameDifficulty
GetGender
GetGoingToBeAttackedBy
GetGold
GetGoldPieceValue
GetGoodEvilValue
GetHasFeat
GetHasFeatEffect
GetHasInventory
GetHasSkill
GetHasSpell
GetHasSpellEffect
GetHenchman
GetHitDice
GetIdFromTalent
GetIdentified
GetImmortal
GetInventoryDisturbItem
GetInventoryDisturbType
GetIsAreaAboveGround
GetIsAreaInterior
GetIsAreaNatural
GetIsCreatureDisarmable
GetIsDM
GetIsDMPossessed
GetIsDawn
GetIsDay
GetIsDead
GetIsDoorActionPossible
GetIsDusk
GetIsEffectValid
GetIsEncounterCreature
GetIsEnemy
GetIsFriend
GetIsImmune
GetIsInCombat
GetIsInSubArea
GetIsItemPropertyValid
GetIsListening
GetIsNeutral
GetIsNight
GetIsObjectValid
GetIsOpen
GetIsPC
GetIsPlaceableObjectActionPossible
GetIsPlayableRacialType
GetIsPossessedFamiliar
GetIsReactionTypeFriendly
GetIsReactionTypeHostile
GetIsReactionTypeNeutral
GetIsResting
GetIsSkillSuccessful
GetIsTalentValid
GetIsTrapped
GetIsWeaponEffective
GetItemACValue
GetItemActivated
GetItemActivatedTarget
GetItemActivatedTargetLocation
GetItemActivator
GetItemAppearance
GetItemCharges
GetItemCursedFlag
GetItemHasItemProperty
GetItemInSlot
GetItemPossessedBy
GetItemPossessor
GetItemPropertyCostTable
GetItemPropertyCostTableValue
GetItemPropertyDurationType
GetItemPropertyParam1
GetItemPropertyParam1Value
GetItemPropertySubType
GetItemPropertyType
GetItemStackSize
GetJournalQuestExperience
GetLastAssociateCommand
GetLastAttackMode
GetLastAttackType
GetLastAttacker
GetLastClosedBy
GetLastDamager
GetLastDisarmed
GetLastDisturbed
GetLastHostileActor
GetLastKiller
GetLastLocked
GetLastOpenedBy
GetLastPCRested
GetLastPCToCancelCutscene
GetLastPerceived
GetLastPerceptionHeard
GetLastPerceptionInaudible
GetLastPerceptionSeen
GetLastPerceptionVanished
GetLastPlayerDied
GetLastPlayerDying
GetLastRespawnButtonPresser
GetLastRestEventType
GetLastSpeaker
GetLastSpell
GetLastSpellCastClass
GetLastSpellCaster
GetLastSpellHarmful
GetLastTrapDetected
GetLastUnlocked
GetLastUsedBy
GetLastWeaponUsed
GetLawChaosValue
GetLevelByClass
GetLevelByPosition
GetListenPatternNumber
GetLocalFloat
GetLocalInt
GetLocalLocation
GetLocalObject
GetLocalString
GetLocation
GetLockKeyRequired
GetLockKeyTag
GetLockLockDC
GetLockLockable
GetLockUnlockDC
GetLocked
GetLootable
GetMaster
GetMatchedSubstring
GetMatchedSubstringsCount
GetMaxHenchmen
GetMaxHitPoints
GetMetaMagicFeat
GetModule
GetModuleItemAcquired
GetModuleItemAcquiredBy
GetModuleItemAcquiredFrom
GetModuleItemAcquiredStackSize
GetModuleItemLost
GetModuleItemLostBy
GetModuleName
GetMovementRate
GetName
GetNearestCreature
GetNearestCreatureToLocation
GetNearestObject
GetNearestObjectByTag
GetNearestObjectToLocation
GetNearestTrapToObject
GetNextEffect
GetNextFactionMember
GetNextInPersistentObject
GetNextItemInInventory
GetNextItemProperty
GetNextObjectInArea
GetNextObjectInShape
GetNextPC
GetNumStackedItems
GetObjectByTag
GetObjectHeard
GetObjectSeen
GetObjectType
GetPCIPAddress
GetPCItemLastEquipped
GetPCItemLastEquippedBy
GetPCItemLastUnequipped
GetPCItemLastUnequippedBy
GetPCLevellingUp
GetPCPlayerName
GetPCPublicCDKey
GetPCSpeaker
GetPhenoType
GetPickpocketableFlag
GetPlaceableIllumination
GetPlotFlag
GetPosition
GetPositionFromLocation
GetRacialType
GetReflexAdjustedDamage
GetReflexSavingThrow
GetReputation
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -