Jump to content

Enabling/Disabling Actor


Recommended Posts

Found best way, not perfect but effective, if anybody interested...

 

 

Actor Property PlayerREF Auto
Actor Property MyActor Auto

Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == PlayerRef
MyActor.Enable()
Utility.wait(0.2)
MyActor.Kill()

endif
ENDEVENT

 

Link to comment
Share on other sites

Found best way, not perfect but effective, if anybody interested...

 

 

 

Actor Property PlayerREF Auto

Actor Property MyActor Auto

 

Event OnTriggerEnter(ObjectReference akActionRef)

if akActionRef == PlayerRef

MyActor.Enable()

Utility.wait(0.2)

MyActor.Kill()

 

endif

ENDEVENT

 

 

That's actually my second suggestion :
2) Place an alive "Initially Disable" elk and 0.2 sec after it gets enable kill it.
Link to comment
Share on other sites

  • Recently Browsing   0 members

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