Author Topic: Updating BrickSelectorDlg?  (Read 942 times)

I found out what was wrong with my Brick Maker script but now i need to know how to Update BrickSelectorDlg?
What is the command? I tried to dump BrickSelectorDlg but it doesn't have BrickSelectorDlg.update();

Brickselectordlg::Update(); ?

Brickselectordlg::Update(); ?
I think a better form to say this is
Code: [Select]
BrickSelectorDlg.Update()Try using correct case(it works anyway) and using a . when calling functions

What you did is totally correct code.

Anyway, ::update() is not a method

Deep is being dumb ignore him.


I think a better form to say this is
Code: [Select]
BrickSelectorDlg.Update()Try using correct case(it works anyway) and using a . when calling functions

What you did is totally correct code.

Anyway, ::update() is not a method
I did BrickSelectorDlg.Dump(); didn't show Update() as a function for it... But i will try.


Deep is being dumb ignore him.
Brickselectordlg::Update(); ?

I left it completely open for corrections.

I left it completely open for corrections.
Why don't i see you on blockland anymore deep?
EDIT: BrickSelectorDlg.Update(); is not a Defualt command for the BrickSelectorDlg
« Last Edit: November 01, 2009, 04:28:48 PM by Pah1023 »

Why don't i see you on blockland anymore deep?
EDIT: BrickSelectorDlg.Update(); is not a Defualt command for the BrickSelectorDlg

..or you could ignore my post

Try'd that to, and also BSD_LoadBricks(); but still didn't load it...

I think a better form to say this is
Code: [Select]
BrickSelectorDlg.Update()Try using correct case(it works anyway) and using a . when calling functions

What you did is totally correct code.

Anyway, ::update() is not a method

Using ::update allows you to call it as a static method which is perfectly acceptable, provided you pass the BSDSelectorDlg as the first parameter.

Wait never mind, i see a problem with my script the function wont work with NewBrick("1 1 5"); gotta do NewBrick(1, 1, 5);Anyone know how do i fix this problem?

Post your code. It depends on how you wrote the function.

Using ::update allows you to call it as a static method which is perfectly acceptable, provided you pass the BSDSelectorDlg as the first parameter.
What you did is totally correct code.