Code | Effect |
additem <ItemID> <#> | Adds item to target NPC. |
DamageActorValue <attribute> <amount> | Lowers the given attribute by the required amount. |
disable | Makes the target disappear. |
dispelallspells | Removes spell effects from the target. |
duplicateallitems <refID> | After targeting an NPC, this can be used to copy their inventory to another NPC. |
enable | Used to make targets re-appear. |
equipitem <ItemID> <#><left/right> | Forces the target to equip an item, if it is in their inventory. |
equipspell <SpellID> <left/right> | Forces the target to equip spell <left/right> will equip the spell into the target’s the left or right hand. |
forceav <AV> <#> | Forces <AV> to required number represented by <#>. |
GetAngle <axis> | Returns the value of original rotational axis of target. |
getlevel | Returns the original level of the target. |
getrelationshiprank <ID> | Changes the affinity between two characters (-4–4). The higher the number the greater the affinity. |
hasperk <ID> | Returns a target’s perk based on perk ID. |
kill | Instantly kills target. (Essential characters just get knocked out.) |
lock <#> | Lock chests, doors or characters. |
MarkForDelete | Permanently deletes selected target. May require a save to be reloaded. |
moveto player | Teleports the targeted NPC to the player’s location. |
openactorcontainer <#> | Opens an inventory. Items within may depend on target’s affinity to the player. |
playidle <ID> | Makes the target do the specified action, such as a certain animation. |
pushactoraway <ID> <distance> | Bring the target closer to the player or push them away. |
removeallitems | Removes all items in the targets inventory. Use the <player> to transfer all items to player’s inventory. |
resetai | Resets the AI of a target. |
resetinventory | Restores the target’s original inventory. |
resurrect <#> | Resurrect a dead NPC. |
setactoralpha <#> | Make targets invisible or partly visible. |
setessential <BaseID> <#> | Make target immortal or makes them mortal again. |
setfavorstate <#> | 0 = inactive, 1 = active. Makes target obey player commands using cursor/mouse. |
setghost <#> | Makes target intangible or resets it. |
setgs <attribute> <amount> | Change games Settings. |
setlevel <1>,<2>,<3>,<4> | Sets the level of a target. |
setlocationcleared <ID> <#> | Sets a location as cleared/explored (1) or uncleared (0). The numerical location ID must be used. |
setnpcweight <#> | Sets the weight of the target or the player. |
setownership <BaseID> | Changes ownership of any given target/item. |
setcellownership <LocationID> | Marks target as owned by the player. |
setrelationshiprank <refID> <#> | Used to change an NPC’s affinity towards the player. |
setscale <#> | Sets the scale of an object. 1 being the default state. |
setunconscious <#> | Makes a target unconscious. |
sexchange | Change gender of target NPC. They keep their original head. |
shp <#> | Set HDR settings. |
sifh <#> | Toggle friendly fire/damage on or off. |
unequipitem <ItemID> <#><left/right> | Forces target to unequip an item in left or right hand. |
unlock | Unlock chest or door. |
ncG1vNJzZmivp6x7pbHXnqmtp16YvK57xq6gnZ2jZK%2Bmv9NmqqSxop66bq%2FOp6qopJVisLC5zJqlnatdpLtuvMJmaG9wZWWGeHs%3D