Aller au contenu

Photo

Scripting? question.


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
RandyHargis

RandyHargis
  • Members
  • 1 messages
Total newb here.  I want to do the following...have a skeleton warrior(s) stand imobile until a player triggers a trap where the warrior(s) comes to "life" and attacks the player.  Is this even possible?

Thanks.

Randy

#2
painofdungeoneternal

painofdungeoneternal
  • Members
  • 1 799 messages
Yes you can do that. You probably want to get on the vault and look up some scripting tutorials, and get some rudimentary basics down. ( look for the sticky in this section which has links to resources )



You put a trigger on the ground which triggers a script, prior to it, the skeleton is neutral faction ( meaning he will ignore the player unless attacked ) and script basically finds him by tag and sets him hostile. Then assign him command of attacking player who set off the trap. Other ways to do it, but that is simplest.