SimCutie
Warlord
- Joined
- Dec 10, 2005
- Messages
- 197
CyPopup.addPythonButton( strFunctionName, strButtonText, strHelpText, strArtPointer, iData1, iData2, bOption )
and
CyPopup.addPythonButtonXY( strFunctionName, strButtonText, strHelpText, strArtPointer, iData1, iData2, bOption, X, iY )
should invoke python entry point in "CustomAssets/Python/EntryPoint/PopupInterface.py" specfied by strFunctionName when player presses the Button.
I does not work as advertised. It does not call the strFunctionName function regardless of bOption value.
It is not part of SDK DLL, so I can not fix it.
and
CyPopup.addPythonButtonXY( strFunctionName, strButtonText, strHelpText, strArtPointer, iData1, iData2, bOption, X, iY )
should invoke python entry point in "CustomAssets/Python/EntryPoint/PopupInterface.py" specfied by strFunctionName when player presses the Button.
I does not work as advertised. It does not call the strFunctionName function regardless of bOption value.
It is not part of SDK DLL, so I can not fix it.