≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
If I need to make an AI, how do I check if I hit it?
Posted by:
(you are not logged in)
Enter the missing letter in: "Interna?ional"
(you are not logged in)
Text:
[quote][b][/b] wrote: Yes you are right. My solution might feel a bit weird but you can give it a try. 1.) Make an action that will make the scenenode attack your character. 2.) Attach a behavior making the scenenode call an action in a regular time interval. 3.) In the script you wrote above, instead of calling the attack command make it set a coppercube variable to 1, and in the else along with what you put there set the variable back to 0. 4.) Then in the behavior attached in no. 2. ad a condition action(i.e if variable = this) Saying if the variable created above is equal to 1, then call the attack action created above I hope this works *smile*[/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