|
|
Re: Dynamic Buttons
[Re: David_Higgins]
#136897
06/18/07 01:05
06/18/07 01:05
|
Joined: Oct 2004
Posts: 1,655
testDummy
Serious User
|
Serious User
Joined: Oct 2004
Posts: 1,655
|
If you are going to use pan_create, I believe you must use the delimiters < > to delimit strings inside of the greater string. Quote:
as I'm sure there's a way to change the buttons in the C++ through the SDK ...
Quoted David_Higgins. You know, I would have thought so too, but after examing the SDK, it seems there is only so much access.
In my plugin, panels ARE created using pan_create, a combined string, and information in classes.
I don't think you can actually define strings locally in C-Script.
To change the bmap or position of a button, look up functions pan_setpos(PANEL*, var type, var num, VECTOR* pos) pan_setbmap(PANEL*, var num, BMAP*) in the manual, but you should have already seen that material.
|
|
|
|
|
|