[Moeng-cvs] BBRpg/data/scripts AdvAIRandom.lua,1.6,1.6.2.1 MainMenu.lua,1.33.2.3,1.33.2.4
Status: Alpha
Brought to you by:
b_lindeijer
From: <b_l...@us...> - 2004-01-10 20:23:22
|
Update of /cvsroot/moeng/BBRpg/data/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv1398/data/scripts Modified Files: Tag: bbrpg AdvAIRandom.lua MainMenu.lua Log Message: AdvAIRandom fix voor bDead, snelstart weer zoals het hoort en blues mobiel goed zetten in snelstart. Index: AdvAIRandom.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/AdvAIRandom.lua,v retrieving revision 1.6 retrieving revision 1.6.2.1 diff -C2 -d -r1.6 -r1.6.2.1 *** AdvAIRandom.lua 1 Jan 2004 22:39:55 -0000 1.6 --- AdvAIRandom.lua 10 Jan 2004 20:23:19 -0000 1.6.2.1 *************** *** 42,47 **** end; notifyWalkFinished = function(self) ! if (self.distanceToWalk <= 0 and self.pawn.bAttacking == false) then ! -- Reached his goal, pause and choose new goal. if (self.target or self.scaring) then -- korte wachttijd, anders staat ie na elke tile even (te lang) stil --- 42,47 ---- end; notifyWalkFinished = function(self) ! if (self.distanceToWalk <= 0 and self.pawn.bAttacking == false) then ! -- Reached his goal, pause and choose new goal. if (self.target or self.scaring) then -- korte wachttijd, anders staat ie na elke tile even (te lang) stil *************** *** 93,96 **** --- 93,97 ---- tick = function(self) if (self.pawn.bDead) then return end + if (self.target and self.target.bDead) then self.target = nil end if (self.pawn.charging > 0) then self.pawn.charging = self.pawn.charging - 1 end Index: MainMenu.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/MainMenu.lua,v retrieving revision 1.33.2.3 retrieving revision 1.33.2.4 diff -C2 -d -r1.33.2.3 -r1.33.2.4 *** MainMenu.lua 9 Jan 2004 19:03:32 -0000 1.33.2.3 --- MainMenu.lua 10 Jan 2004 20:23:19 -0000 1.33.2.4 *************** *** 23,30 **** ActionCallFunction(jake.addToInventory, jake, cityMap.walkieTalkie), ActionCallFunction(elwood.addToInventory, elwood, cityMap.walkieTalkie), ! -- ActionSetPosition(elwood, 94, 73, DIR_UP, cityMap), ! ActionSetPosition(elwood, 34, 65, DIR_UP, cellsMap), ActionSetPosition(jake, 93, 73, DIR_UP, cityMap), ActionSetCameraTarget(elwood, false), ActionPlaySong(cityMap.musicFilename, 100), ActionFadeInMap(100), --- 23,31 ---- ActionCallFunction(jake.addToInventory, jake, cityMap.walkieTalkie), ActionCallFunction(elwood.addToInventory, elwood, cityMap.walkieTalkie), ! ActionSetPosition(elwood, 94, 73, DIR_UP, cityMap), ! -- ActionSetPosition(elwood, 34, 65, DIR_UP, cellsMap), ActionSetPosition(jake, 93, 73, DIR_UP, cityMap), ActionSetCameraTarget(elwood, false), + ActionSetPosition(copcar, 88, 77), ActionPlaySong(cityMap.musicFilename, 100), ActionFadeInMap(100), |