penthesilee Posted December 18, 2010 Share Posted December 18, 2010 i need a script or the fonction to force the player to drink a bottle of wiskey he has in his inventory. I only find the equipitem and it doesn't run, useitem seems to not exist... Link to comment Share on other sites More sharing options...
davidlallen Posted December 18, 2010 Share Posted December 18, 2010 I do not think the game provides you a way to force the player to do something. What is the in-game reason for doing this? You might try bringing up a message box, which at least gives some in-game explanation and has only a single "OK" button. When the user clicks OK you can run a script to do whatever you want. But as a player, it would bother me that there is no way to avoid taking this action. Link to comment Share on other sites More sharing options...
RebelOConner Posted December 18, 2010 Share Posted December 18, 2010 (edited) i need a script or the fonction to force the player to drink a bottle of wiskey he has in his inventory. I only find the equipitem and it doesn't run, useitem seems to not exist... i think it's possible, but you need more to force the player to play an idle anim, associated with the item.but there's no vanilla script function for that.you need to use a script to give a token to the player, and duplicate the drink idle anim ( it exists, but for NPC) to run the copy when you add the token.it's not simple, but i think all the animations mods work like this.it's possible an OBSE function exist, i'll verify. edit:no OBSE function found, but it's possible the Playgroup function works. Edited December 18, 2010 by Rebel O Conner Link to comment Share on other sites More sharing options...
Recommended Posts