Research Article

A Hybrid Fuzzy ANN System for Agent Adaptation in a First Person Shooter

Algorithm 12

Pseudocode for flag fire event function.
if weapon fired
search through wep_fire_event array for empty slot (i)
if it is not allocated
       weapon_fire = i
       wep_fire_event[i] = event_type
end of if