WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 07-23-2009, 09:49 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
You are referencing the PushedWalkBtn function before you define it. That is why the error says PushedWalkBtn is not defined.

Just place the function definition above the action definition and it should work:
Code:
def PushedWalkBtn():
	stopcollide()
	carPAUSEaction()
	inviscar()

action = vizact.sequence(vizact.call(Pushed.visible,True),vizact.call(PushedWalkBtn))
vizact.onpick( PushBox, Pushed.runAction, action)
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
5DT glove ultra error 5dt.dls failed kabk Vizard 2 05-05-2009 12:43 PM
Loading morph mesh error. vEsotu Vizard 2 03-14-2009 06:29 PM
Strange Wii Mote error... shivanangel Vizard 8 02-18-2009 12:32 PM
Error Message Jerhy Vizard 1 02-28-2006 01:59 PM
The error window that couldn't FlyingWren Vizard 2 12-02-2003 08:23 AM


All times are GMT -7. The time now is 03:33 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC