mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-16 17:31:28 -04:00
*** empty log message ***
This commit is contained in:
parent
5d97de42f3
commit
274c96300a
@ -770,6 +770,9 @@ class DistributedLevel(DistributedObject.DistributedObject,
|
|||||||
def setOuch(self, penalty, anim = None):
|
def setOuch(self, penalty, anim = None):
|
||||||
if anim == "Squish":
|
if anim == "Squish":
|
||||||
toonbase.tcr.playGame.getPlace().fsm.request('squished')
|
toonbase.tcr.playGame.getPlace().fsm.request('squished')
|
||||||
|
elif anim == "Fall":
|
||||||
|
toonbase.tcr.playGame.getPlace().fsm.request('fallDown')
|
||||||
|
|
||||||
av = toonbase.localToon
|
av = toonbase.localToon
|
||||||
av.stunToon()
|
av.stunToon()
|
||||||
av.playDialogueForString("!")
|
av.playDialogueForString("!")
|
||||||
|
@ -16,7 +16,7 @@ class PathEntity(BasicEntities.NodePathEntity):
|
|||||||
self.pathIndex = pathIndex
|
self.pathIndex = pathIndex
|
||||||
self.path = GoonPathData.Paths[self.pathIndex]
|
self.path = GoonPathData.Paths[self.pathIndex]
|
||||||
|
|
||||||
def makePathTrack(self, node, velocity, name, turnTime=1):
|
def makePathTrack(self, node, velocity, name, turnTime=1, lookAroundNode=None):
|
||||||
track = Sequence(name = name)
|
track = Sequence(name = name)
|
||||||
assert (len(self.path) > 1)
|
assert (len(self.path) > 1)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user