Jump to content

Adding dead actor to formlist


Recommended Posts

I can't compile this script:

FormList Property xxxEndlessWarfareMCM_CorpseList Auto Const

Event OnDeath(Actor akKiller)
    xxxEndlessWarfareMCM_CorpseList.AddForm(Self)
endEvent

i get "AddForm is not a function or does not exist".

Edited by Magnusen2
Link to comment
Share on other sites

Nevermind. This seems to be working:

FormList Property xxxEndlessWarfareMCM_CorpseList Auto Const
Actor rSelf

Event OnLoad()
    rSelf = Self As Actor
EndEvent

Event OnDeath(Actor akKiller)
    xxxEndlessWarfareMCM_CorpseList.AddForm(rSelf)
endEvent
Edited by Magnusen2
Link to comment
Share on other sites

  • Recently Browsing   0 members

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