Pocket Plane Group
BG1 Completed Mods => Tutu Mods and Modding => Topic started by: Red Carnelian on October 23, 2007, 03:02:07 PM
-
I'm trying to add an item to a container in an area using Weidu. Is there a tutorial anywhere for that task? I searched but to no avail and most of the examples from other MODS are too complicated fo me at the moment.
-
Freedom's Reign/Reign of Virtue (http://forums.spellholdstudios.net/index.php?showtopic=26341&st=0&p=296762&#entry296762) adds some items in very simple code:
//Container
///////////
IF
Global("DeSpawnItem","AR0602",0)
THEN
RESPONSE #100
SetGlobal("DeSpawnItem","AR0602",1)
ActionOverride("Jailkeep Table",CreateItem("DeITM033",0,0,0)) // Dirk
ActionOverride("Jailkeep Table",CreateItem("DeITM068",0,0,0)) // Sabre
ActionOverride("Jailkeep Table",CreateItem("DeITM007",0,0,0)) // Hatchet
ActionOverride("Jailkeep Table",CreateItem("DeITM034",0,0,0)) // Horseman's Flail
Continue()
END
These are added via a BAF for area AR0602.