Skip to content

S_ObjectEquipSetIndex

DummkopfOfHachtenduden edited this page Sep 19, 2021 · 1 revision

Adds Equipment to an Object.
If the WeaponIndex does not match the race it'll be random.

Parameters

Nr Name Type Value range
1. ObjectID string ObjID or *player
2. Level int 1- 164 or #rand(1, 110)
3. ArmorIndex int 0 - 3 or #rand(1, 3)
4. WeaponIndex int 1 - 16 or #rand(1, 16)
5. IsRare bool 0 or 1

Example

2.7 S_ObjectEquipSetIndex obj01 #rand(70,100) #rand(1,3) #rand(1,16) 1

Degree Level
1 1
2 8
3 16
4 24
5 32
6 42
7 52
8 64
9 76
10 90
11 104
12 120
13 141
14 164
ArmorIndex Name
0 None
1 Garment / Clothes
2 Protector / Light Armor
3 Armor / Heavy Armor
WeaponIndex Name
01 Random
02 Sword
03 Blade
04 Spear
05 Glavie
06 Bow
07 One-handed Sword
08 Two-handed Sword
09 Dual Axe
10 Warloc Rod
11 Staff
12 Crossbow
13 Dagger
14 Harp
15 Cleric Rod

See also

S_ObjectRelease
ObjectIndex

Clone this wiki locally