65 lines
2.5 KiB
Plaintext
65 lines
2.5 KiB
Plaintext
|
scriptName defaultOnLoadRemoveWeapons extends ObjectReference
|
||
|
{ Removes all weapons of the specified types from the current actor. A ton of properties here to allow removing all of the weapons that can emerge from a levelled list.}
|
||
|
|
||
|
Import Game
|
||
|
Import Debug
|
||
|
Import Utility
|
||
|
|
||
|
Weapon property WeaponToRemove1 Auto
|
||
|
Weapon property WeaponToRemove2 Auto
|
||
|
Weapon property WeaponToRemove3 Auto
|
||
|
Weapon property WeaponToRemove4 Auto
|
||
|
Weapon property WeaponToRemove5 Auto
|
||
|
Weapon property WeaponToRemove6 Auto
|
||
|
Weapon property WeaponToRemove7 Auto
|
||
|
Weapon property WeaponToRemove8 Auto
|
||
|
Weapon property WeaponToRemove9 Auto
|
||
|
Weapon property WeaponToRemove10 Auto
|
||
|
Weapon property WeaponToRemove11 Auto
|
||
|
Weapon property WeaponToRemove12 Auto
|
||
|
Weapon property WeaponToRemove13 Auto
|
||
|
Weapon property WeaponToRemove14 Auto
|
||
|
Weapon property WeaponToRemove15 Auto
|
||
|
Weapon property WeaponToRemove16 Auto
|
||
|
Weapon property WeaponToRemove17 Auto
|
||
|
Weapon property WeaponToRemove18 Auto
|
||
|
Weapon property WeaponToRemove19 Auto
|
||
|
Weapon property WeaponToRemove20 Auto
|
||
|
Weapon property WeaponToRemove21 Auto
|
||
|
Weapon property WeaponToRemove22 Auto
|
||
|
Weapon property WeaponToRemove23 Auto
|
||
|
Weapon property WeaponToRemove24 Auto
|
||
|
Weapon property WeaponToRemove25 Auto
|
||
|
Weapon property WeaponToRemove26 Auto
|
||
|
Weapon property WeaponToRemove27 Auto
|
||
|
Weapon property WeaponToRemove28 Auto
|
||
|
Weapon property WeaponToRemove29 Auto
|
||
|
Weapon property WeaponToRemove30 Auto
|
||
|
|
||
|
Event OnLoad()
|
||
|
Self.RemoveItem(WeaponToRemove1, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove2, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove3, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove4, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove5, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove6, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove7, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove8, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove9, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove10, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove11, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove12, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove13, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove14, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove15, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove16, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove17, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove18, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove19, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove20, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove21, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove22, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove23, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove24, 1, True)
|
||
|
Self.RemoveItem(WeaponToRemove25, 1, True)
|
||
|
EndEvent
|