![]() |
|
#2
|
|||
|
|||
|
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) |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 5DT glove ultra error 5dt.dls failed | kabk | Vizard | 2 | 05-05-2009 01:43 PM |
| Loading morph mesh error. | vEsotu | Vizard | 2 | 03-14-2009 07:29 PM |
| Strange Wii Mote error... | shivanangel | Vizard | 8 | 02-18-2009 01:32 PM |
| Error Message | Jerhy | Vizard | 1 | 02-28-2006 02:59 PM |
| The error window that couldn't | FlyingWren | Vizard | 2 | 12-02-2003 09:23 AM |