Adding items to containers in Areas?
Greener
Member Posts: 430
This adds an item to a creature
COPY_EXISTING_REGEXP GLOB ~^_?hlkoshi\.cre$~ ~override~ REPLACE_CRE_ITEM ~katana4~ #0 #0 #0 ~NONE~ ~SHIELD~ EQUIPThis adds an item to a store
COPY_EXISTING ~wmart1.sto~ ~override/wmart1.sto~ ADD_STORE_ITEM ~Katana3~ AFTER ~wastaff~ #1 #0 #0 ~IDENTIFIED~ #1I'm trying to add an item to the container (pool 1) of area AR0310.ARE in BG2EE, how would I script this via a .tp2 file?
Post edited by Greener on
0
Comments
ar 0310.bcs
Currently, I've written this (but it's not working)
//Added to my .tp2 file //AR0310.baf
However, the big reason why you couldn't get this to work is that AR0310 is one of those very rare areas that doesn't have its area script assigned. You'd need to also add this to your tp2:
And sorry, the area script didn't work for you. I have an EET install and therefore every area in the game has a script assigned.
More info can be found in the WeiDU docs.
Thank you, for the examples I must admit I tried look in the WeiDU docs but got a little lost...
In you opinion is this better (or cleaner) than: