edited October 2015 in ORK Scripting
Hi,

just wanted to know if there is an easy way to get the combatant of the player.

I want to re/spawn enemies depending on the player's level,

Thank you.

--Dominik
Post edited by widnig89 on
  • Yes, there's a very easy way - this code gives access to the leader of the active player group (i.e. the player).
    ORK.Game.ActiveGroup.Leader
    If you want a different combatant of the player group, you can use the active group's functions to get members of the group.

    Also, if you want to get the combatant of a game object, check this how-to.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Perfect.
    Thank you. :)
Sign In or Register to comment.