Demeggy Posted November 11, 2009 Share Posted November 11, 2009 Hi all, Im trying to setup a terminal which only shows up the option to open a door if 5 keys have been picked up by the player. Ive simply set 5 conditions of the menu in question to check 'GetItemCount == 1', yet it doesn't seem to be working ingame. Any ideas? Thanks :) Link to comment Share on other sites More sharing options...
spammster Posted November 11, 2009 Share Posted November 11, 2009 have you set all the conditions to "AND" (if the conditions are set to "OR" 1 of the notes is enough) Link to comment Share on other sites More sharing options...
Demeggy Posted November 11, 2009 Author Share Posted November 11, 2009 I've tested using just 1 of the items to see if theres a problem at that point, and still no luck. Frustrating. They were set to AND though beforehand, just for ref. Link to comment Share on other sites More sharing options...
spammster Posted November 11, 2009 Share Posted November 11, 2009 if the problem keeps sticking around, you could script it. like:note a,b,c,d,e short unlockterminal begin gamemode player if player.gethasnote notea && player.gethasnote noteb && player.gethasnote notec && player.gethasnote noted && player.gethasnote notee set unlockterminal to 1 endif end and for the terminal you can use a single condition (unlockterminal == 1) Link to comment Share on other sites More sharing options...
Demeggy Posted November 11, 2009 Author Share Posted November 11, 2009 if the problem keeps sticking around, you could script it. like:note a,b,c,d,e short unlockterminal begin gamemode player if player.gethasnote notea && player.gethasnote noteb && player.gethasnote notec && player.gethasnote noted && player.gethasnote notee set unlockterminal to 1 endif end and for the terminal you can use a single condition (unlockterminal == 1) Hmm, I could do, it's just that I need the items to be just that, items and not notes :( I think it may be a problem with that. The condition at current is; Run on Subject --> GetItemCount --> Misc Item: AAATestKey == 1.00 AND Link to comment Share on other sites More sharing options...
spammster Posted November 11, 2009 Share Posted November 11, 2009 think i found your problem :D getitemcount never works for me (well nearly never, only time it worked was when i counted an item that was part of Fallout.esm). Link to comment Share on other sites More sharing options...
Demeggy Posted November 11, 2009 Author Share Posted November 11, 2009 think i found your problem :D getitemcount never works for me (well nearly never, only time it worked was when i counted an item that was part of Fallout.esm). Ahhh wonderful :) Cheer Spam. Now. Problem 2. A solution.... What'd be the best way to check the player has picked up the item? As it isn't a note, perhaps I could create a Global Variable and every time the player picks up one of the items, +1 is added to the Global. The condition checks that the Global Variable == 3, and if it is... ta da?? :blink: edit: global var theory works :) cheers for confirming my doubts about getitemcount dude :) Link to comment Share on other sites More sharing options...
spammster Posted November 11, 2009 Share Posted November 11, 2009 glad you fixed it, is quite the annoyance that it never works (cause i personally find it messy to have to use a script just to work a condition) this for the dr. who mod ? Link to comment Share on other sites More sharing options...
Demeggy Posted November 11, 2009 Author Share Posted November 11, 2009 glad you fixed it, is quite the annoyance that it never works (cause i personally find it messy to have to use a script just to work a condition) this for the dr. who mod ? yeeeahhmebbe.... :P Link to comment Share on other sites More sharing options...
Recommended Posts