Jump to content

Photo

Script "Actor activate LinkRef on Hit" just doesn't work.

script creation kit

  • Please log in to reply
2 replies to this topic

#1
JPTR1

JPTR1

    Fan

  • Members
  • PipPipPip
  • 491 posts

Hello,

I've found this "simple" script (defaultOnHitActivateLinkedRef), it just does not work like intended. Instead of "onHit" the NPC activates the link ref immediately after the cell is loaded.

I would need the Enemy to activate(run to) the lever when the combat begins.

 

Spoiler

 

Any idea what i'm doing wrong? Thanks in advance!

 

 



#2
Sphered

Sphered

    Fan

  • Premium Member
  • 395 posts

You make me wonder if havok settling can trigger that event. Suppose I've never particularly looked for that

 

At any rate, two routes off the top of my head. You could simply use a condition for akAggressor. Assuming only the player is eligible, use that. Otherwise what you could do is an OnLoad() Event where then, perhaps after a Wait(1.0) or so, then go to that ready-to-hit state



#3
Tlam99

Tlam99

    Fan

  • Members
  • PipPipPip
  • 487 posts
Make an activator with self destruct.





Also tagged with one or more of these keywords: script, creation kit

IPB skins by Skinbox
Page loaded in: 1.102 seconds