• Welcome to Skyrim Forums! Register now to participate using the 'Sign Up' button on the right. You may now register with your Facebook or Steam account!

Alissa DeWitt

Beer Wench
Hi everyone, I am trying to make a mod in which the player and a random NPC have a contest. It is expanded upon a drinking contest mod I have found online. I am trying to make the NPC and player go round for round and whoever's stamina drops below 100 first loses. I have already figured out how to make the player's stamina drop through dialogue, but not the NPC's. I have tried linking a spell to the dialogue as a Papyrus fragment but it isn't compiling. This is the script I put in

Drink.Cast(Player, None)

(Drink being defined as an aimed spell reducing stamina).

And this is what it spits out after I compile:
c:\program files\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__0200239A.psc(9,6): type mismatch on parameter 1 (did you forget a cast?)
No output generated for TIF__0200239A, compilation failed.

Any ideas? Sorry I'm a rookie at scripting.
 

Recent chat visitors

Latest posts

Top