Professional Documents
Culture Documents
Flowcharts
Flowcharts
Flowcharts
If collided object
has tag of
“Team1”
Set target to be
the collided
gameobject
Start
If take damage is
called health is
lowered by preset
amount If health isn’t below
0
If current health
is 0 or less than
enemy dies
End
PlayerHealth
Turn on laser
effect and shoot
If not in range or
enemy nothing
happens If it is in range and
enemy then deal damage
to the enemy
end
Enemy movement
No obstacle found
If obstacle is
found in the
way
start
Followcam
Continuously move
forward at the
speed determined
by acceleration
Turret
Target is locked
and turret turns
towards target
If target
goes out of
When the shot is range
ready turret then
shoots
After each
shot
Spawns a bullet object
in the world which will
move forward and
then waits a moment
until next shot is ready
and repeats unless
target has gone out of
range