≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
clone node
Posted by:
(you are not logged in)
Enter the missing letter in: "I?ternational"
(you are not logged in)
Text:
[quote][b][/b] wrote: This is the code that controls how individual enemy acts if his health is higher than 0 (I've created an image because this forum hides the 'hashtag' character/symbol): [img]https://i97.servimg.com/u/f97/11/34/97/23/enemyh10.jpg[/img] In the ccb I've uploaded it's in the enemy model under 'Every few seconds do something' sett to 1500. The code (that you need is first 4 lines) gets the individual value of the health (of the model that it's in) every 1500 ms. All you have to do is modify it to do something if health is higher than 0 (like it's here) or if health is lower than 0.[/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