steve40 Posted October 3, 2012 Share Posted October 3, 2012 Excuse my intrusion, but mightn't antstubell have been on the right track with "the coinpurse isn't in a container" up there? The coinpurse isn't added to the player's inventory, X amount of gold is, so the purse itself isn't really changing containers, is it? That's what I thought. I am a novice scripter basically copying and mashing together scripts from other scripts. I am fluent in old BASIC programming and logic told me that the line "OnContainerChange..." didn't make sense in the context of what's happening. I thank Steve40 for taking the time to reply and I bow to anybody's knowledge tat is greater than mine. Is there an "OnItemAdded" comand or am I just making it up? I really don't know how to script this. D'oh, folied again :facepalm: You're both right of course. The most practical solution would be to create a fake coin purse that is not a container (eg. use an Activator form with the coin purse mesh). Then OnContainerChanged will work as it should. When the script has done its thing, you can simply disable and delete the fake purse and give the player some gold. Link to comment Share on other sites More sharing options...
Recommended Posts