Jump to content

Need some script help please


omegaspectre

Recommended Posts

Right,

 

I need a script that makes an actor move to their combat target and explode.

 

Like this:

 

1) Enters Combat

2) Moves to Combat Target

3) Explodes

 

But I can't seem to work out how to do this.

Help please?

 

Omegaspectre

Edited by omegaspectre
Link to comment
Share on other sites

You might try looking at a Package, found under Actor Data in the Object Window. The GECK page on travel packages might be helpful, as well as the other package pages.

 

You could approximate the seeking the player by using a travel package with the Continue In Comabt flag checked, with the player as the target. Or at least, I think you can, not sure if the player can be chosen as the destination of a package. But play around with them and you might be able to. I would think setting the actor to use a melee weapon might help, as their AI will force them into melee range in order to do combat.

 

Play around with it and see what happens is the best bet. Try one of the test rooms (if you don't have your own test cell) to test things out.

Link to comment
Share on other sites

Both, its because I need it to move towards the current Target, so it only moves to it's target during combat. With the exploding I've tried the "kill" command and setting destruction data but it doesn't work.
Link to comment
Share on other sites

  • Recently Browsing   0 members

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