View Single Post
  #1  
Old 07-23-2009, 02:12 AM
jaylocco jaylocco is offline
Member
 
Join Date: Jun 2009
Posts: 19
Vizact.call error

hi,

I got this problem..I kept on getting error with this code

Code:
action = vizact.sequence(vizact.call(Pushed.visible,True),vizact.call(PushedWalkBtn))
vizact.onpick( PushBox, Pushed.runAction, action)

def PushedWalkBtn():
	stopcollide()
	carPAUSEaction()
	inviscar()
and the result says

action = vizact.sequence(vizact.call(Pushed.visible,True),v izact.call(PushedWalkBtn()))
NameError: name 'PushedWalkBtn' is not defined


to what I saw in Vizard help, the syntax should be no problem which is
<vizact>.call(
func
args
)

May I know what was the problem?

THANKs
Reply With Quote