| This is the transcript of a script file, which runs certain tasks in the game upon execution. |
| Details | |
|---|---|
| Type | Decompiled script |
| Editor ID | 22LRPlinkingAmmoAddScript
|
| Form ID | 0016663F |
This script is the functionality for Ammo box, .22LR plinking, controlling how it removes itself from the player's inventory and adds the ammo.
scn 22LRPlinkingAmmoAddScript
int killme
BEGIN OnAdd Player
Set killme to 1
END
begin GameMode
if (killme == 1)
Player.AddItem Ammo22LRPlinking 100
RemoveMe
endif
end