[Console] Running Script

Discussions and questions about the CS and mods for Oblivion
Locked
Oblis
Initiate
Initiate
Posts: 38
Joined: Fri May 18, 2007 2:07 pm
ES Games: Daggerfall, Morrowind, Oblivion
Platform: PC
Location: Greece

[Console] Running Script

Post by Oblis »

Do you know if there any specific command to allow me run an npc script i made, without dialogue?
I mean i just want to activate it through the console.
Oblis
Initiate
Initiate
Posts: 38
Joined: Fri May 18, 2007 2:07 pm
ES Games: Daggerfall, Morrowind, Oblivion
Platform: PC
Location: Greece

Re: [Console] Running Script

Post by Oblis »

Whats wrong with the following script?
I want in %v to give me a number but instead it gives me test "V".


ScriptName NPCStatus

short health
short magicka
ref pc1

begin onadd

set Health to GetActorValue Health
set Magicka to GetActorValue Magicka

MessageBox "My stats are: Health: %v Magicka: %v" health magicka

End
Locked