Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Can Anyone here help me in coding this :- Game starts:- (1)Every 1 ms the playerhealth variable is changing according to the health of FPS Camera. (because directly using (hash)Camera1.health results in a error Illegal Character. (2) if the player enters the proximity area of enemy (goto (3)) else (5) (3) loop shooting the player till the player dies. with the using second statement :- playerhealth > 0; the enemy will keep on shooting the player till it dies. If the player Dies ( goto (4)); (4) // leave this one. I'll code (4) myself. (5) keep roaming here and there //I'll code this myself. Hope that anyone has solution for my problem. |
||||
|
1) the problem that you get something like "error Illegal Character" just means that you have some problem in your syntax. Repairing that instead would probably be easier. You can do the other things using actions. Use that proximity behavior, together with an if. I'd for example then do an "every few seconds do" behavior which shoots at the player. But put an "if" before the "shoot" action which tests if the player is in proximity, based on a variable you set in that behavior aboe. |
|