Jump to content


Photo

Separate Human and AI Commandsets for Objects


  • Please log in to reply
2 replies to this topic

#1 Redhorn Pass

Redhorn Pass

    Also known as Fohel

  • Members
  • 135 posts
  • Projects:The Beorn Mod
  •  An INI coder

Posted 24 October 2008 - 12:40 AM

Hi, I have been wandering if it is possible to give an object a human player a commandset which is only used by the AI. Would it be possible to do this? If so what code should I use.

I have found some code I could use if it possible to give the an upgrade to an object only when it is AI controlled? If so I can use code similar this to change the command set for the AI:

Behavior = CommandSetUpgrade ModuleTag_commandSetWellOfSouls
		TriggeredBy 			= Upgrade_AngmarWellOfSouls
		CommandSet 			= AngmarNecromancerHordeWellCommandSet
	End

Apart from this I haven't found any code that looks helpful so I don't have any actual code yet. :sad2:

Can what I want to do be achieved at all? :ohmy:

THANKS! :rolleyes:

Edited by Redhorn Pass, 24 October 2008 - 12:42 AM.

Posted Image

Posted Image

#2 Rob38

Rob38

    Believer of Hope

  • Hosted
  • 3,567 posts
  • Location:USA
  • Projects:Helm's Deep Last Hope
  •  One who is not afraid of new challenges

Posted 24 October 2008 - 02:17 AM

This tutorial explains everything you need to do. :rolleyes:

signature_group1.gif

 

16821.png


#3 Redhorn Pass

Redhorn Pass

    Also known as Fohel

  • Members
  • 135 posts
  • Projects:The Beorn Mod
  •  An INI coder

Posted 24 October 2008 - 11:50 AM

This tutorial explains everything you need to do. :ohmy:


Got it working!
Thanks! :rolleyes:
Posted Image

Posted Image




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users