Blockland Forums > Modification Help

RTB preferences datablock type

Pages: << < (2/3) > >>

Kalphiter:

Show me the code

lordician:

I thought you weren't really interested into RTB stuff, but any help is welcome of course;

--- Code: ---RTB_registerPref("Datablock","Datatest","$Datatest::Datablock","datablock PlayerData","Script_Test",0,0,0);

--- End code ---
Instead of the 0 after "Script_Test", i also tried a datablock name. :S
Gave the same error.

--- Quote from: lordician on June 06, 2011, 04:27:09 PM ---ERROR: Invalid pref type supplied (datablock) for pref Datatest::Datablock in RTB_registerPref

--- End quote ---


Destiny/Zack0Wack0:

Datablocks aren't supported as a preference type in RTB, it's kind of unfortunate. Space Guy has brought it up with Ephialtes before, I don't remember what he Ephialtes ended up saying to that.

You can loop through all the player datablocks and construct a list, but I'm 100% certain RTB would have some sort of maximum amount of list options.

lordician:


--- Quote from: Destiny/Zack0Wack0 on June 07, 2011, 03:09:39 AM ---Datablocks aren't supported as a preference type in RTB, it's kind of unfortunate. Space Guy has brought it up with Ephialtes before, I don't remember what he Ephialtes ended up saying to that.

You can loop through all the player datablocks and construct a list, but I'm 100% certain RTB would have some sort of maximum amount of list options.

--- End quote ---
Well that is too bad.
I'll have to find something else then.

Ephialtes:


--- Quote from: Destiny/Zack0Wack0 on June 07, 2011, 03:09:39 AM ---Space Guy has brought it up with Ephialtes before, I don't remember what he Ephialtes ended up saying to that.

--- End quote ---

I'd be happy to add it for v4.

Pages: << < (2/3) > >>

Go to full version