Game Development Reference
In-Depth Information
Scoring dangerous areas
The next influence map we'll create is scoring dangerous areas from a team-specific per-
spective. Using the events that the agents are currently sending out for communication, we
can set influence values on the information the team rightfully knows about without resort-
ing to scoring calculations:
SoldierTactics.lua :
require "AgentSenses"
local eventHandlers = {};
local bulletImpacts = {};
local bulletShots = {};
local deadFriendlies = {};
local seenEnemies = {};
Search WWH ::




Custom Search