Jump to content

Help with Script


eleglas

Recommended Posts

I'm trying to make a gold stealing spell, but for the script I'm trying to set the gold you steal to whatever the victim has on him/her.

 

I've got to this line of code: Set Gold to GetItemCount Gold001

 

(Gold is just a Ref I've put in)

 

I need an Actor ID for the end of this line, but because I want it to work for everyone, I don't know how to do it.

 

Does anyone know how I can get this working?

 

Issue above fixed

 

Actually I got it to work, that script actually works fine, it didn't need an actor ID, oh well.

 

I do have another problem now: How do I get it so my spell counts as pickpocketing but not a hostile crime. Cos right now I can just run up to people and steal their gold, so unreal!

 

Thanks.

Link to comment
Share on other sites

Actually a Ref would work. So if you put before that, 'set self to GetSelf'

And put Self behind yours...what happens then? (with a with 'ref self'/ as with 'short gold')

(Gold to Self.GetItemCount Gold001)

Link to comment
Share on other sites

Actually I got it to work, that script actually works fine, it didn't need an actor ID, oh well.

 

I do have another problem now: How do I get it so my spell counts as pickpocketing but not a hostile crime. Cos right now I can just run up to people and steal their gold, so unreal!

 

Thanks.

Link to comment
Share on other sites

A spell is already from the actor and should indeed work.

Hm, maybe you could put in a GetDetectedLevel with a GetDisposition and a GetAv Agression to determine the effect on the disposition and the chance they will attack you, with a ModCrimeGold to finish it..

I don't think it is possible to add crimes..although you can track them.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...