Jump to content

Scriptname/Death Variables


FredSRichardson

Recommended Posts

Okay, this is pretty nice. It turns out that there is way to have more than one variable set (or incremented) on death. All you have to do is set the second scriptname variable (at offset 0x2CA) to two colon seperated strings like this:

 

Foo:Bar

 

and the global variables FOO and BAR will be incremented when the creature dies. But this only works for two variables. If you try this:

 

Foo:Bar:Doh

 

Then the global variables FOO and BAR:DOH will be incremented.

 

Anyway, this solves the problem of not having a third scriptname variable slot :p

 

-Fred

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...