≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
AI for melee combat behavior
Posted by:
(you are not logged in)
Enter the missing letter in: "I?ternational"
(you are not logged in)
Text:
[quote][b]cadddr[/b] wrote: Hi!, today I created a melee combat behavior for AI in Coppercube - AI will follow the player until it reaches melee range then attack the player - supports animation and invoke scripts when spawning, attacking and dieing. (read the header for more details) the script is avaliable here: https://github.com/creamcast/coppercube_scripts/blob/master/behavior_meleeAI.js feel free to use or improve it, please don't forget to share the results. //Usage //1.Create an animated Entity //2.Set 'AI for melee combat' as a behavior, set parameters as required. //3.To give AI health: Set a 'Game Actor with Health' behavior, then set the mode to 'This is a Player', leave parameters as default other than the health //4.Set a 'Collide when moved' behaviour if nesscary.[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact