Author Topic: Defining a datablock that is no longer a part of GameBaseData  (Read 1454 times)

 %this.elevatorGlass = new StaticShape()
   {
       rotation = "1 0 0 90";
       scale = 4*(%this.getDatablock().brickSizeX/8) @" 1 "@ 4*(%this.getDatablock().brickSizeY/8);
       position = %this.getPosition();
       canSetIFLs = "0";
       datablock = "glassA";       
       elevatorBrick = %this;
       indestructable = true;
   };
Trying to fix this need help on how to define a datablock that is no longer a part of GameBaseData

why do you want to do this?

I wrote up an add-on restating GlassA as a datablock. Something tells me Badspot didn't want this, though. Oh well.

Here you go


Unlocked because TripNick wanted me too.

Unlocked because TripNick wanted me too.
You should never lock any coding help topics, ever