Morrowind scripting

Old and generally outdated discussions, with the rare hidden gem. Enter at your own risk.

Moderators: Haplo, Lead Developers

Locked
kolya99
Member
Posts: 63
Joined: Tue Jun 16, 2009 11:29 pm

Morrowind scripting

Post by kolya99 »

This isnt really about Tamriel Rebuilt content, but just hoped that someone could asnwer some questions. See ive been working on my own mod for the Game Morrowind and I have decided to give scripting a go. what I need is an activator that will grant a certain amount of experience in a few skills, but then take away experience in other skills. If i understand correctly then i need to create an activator and link it to a scipt that grants this. So I was just wondering if anyone knows the scripting code for adding/taking away experience.
MMMowSkwoz
Developer
Posts: 835
Joined: Mon Oct 27, 2008 11:18 pm
Location: London

Post by MMMowSkwoz »

Code: Select all

Begin Script_Name

If ( MenuMode )
	return
EndIf

If ( OnActivate )
	player->ModAcrobatics 30
	player->ModShortBlade -5 ;Choose commands as required
EndIf

End
MaMeeshkaMowSkwoz - choose your syllables
MMMowSkwoz
Developer
Posts: 835
Joined: Mon Oct 27, 2008 11:18 pm
Location: London

Post by MMMowSkwoz »

Realised this morning I forgot the "player->" prefixes. Edited to include.
MaMeeshkaMowSkwoz - choose your syllables
Locked