Jump to content

Scripting Raiders problem...


Darkfirebird

Recommended Posts

Hello all. I been trying to get a OnDeath script working on Raiders and the likes. But it NEVER works on "LeveledCharacters" part. Manually placing them, the OnDeath to add a Token Item for testing purposes.

 

Anyone have any idea whats going on? It shows the Script isnt even active and I placed it on EVERY Raider kind there is.

 

Example Script:

 

scn CMFTestDeath

 

ref self

 

Begin OnLoad

set self to GetSelf

End

 

Begin OnDeath

self.additem CMFTestToken 1

Endif

 

Other version:

 

ref self

short dead

 

Begin OnDeath

set self to GetSelf

set dead to 1

End

 

Begin GameMode

if dead == 1

self.additem CMFTestToken 1

set dead to 2

endif

End

 

Both dont work on Leveled Lists... Anyone have any ideas?

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

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