Disable a character selection just in one scene or stage.

Crimsondeath

Active member
Hi again,
I just want to disable a player character for one stage scene.

For example I want to disable "Atlas" for just the stage 4 (part 3) using the levelscript.
And make him available once the player finish that stage 4 (part 3), using the endlevelscript.

I read in the OpenBOR manual about an "allowselect" command, but I think only works at the "Select Screen" scene (in my game that select screen only appears at the start of the game)
So I need to disable the character at the "in level selection", here :
XwRNrVK.jpeg


How can i do it? D:

Thanks.
 
Solution
By using a non documented thing (which I always forget to document but, in my defense, looks like its incomplete on the source code): changemodelproperty.
Take a look here: Documentation Project

But basically:
Code:
changemodelproperty(modelIndex,4,1); // on
changemodelproperty(modelIndex,4,0); // off
By using a non documented thing (which I always forget to document but, in my defense, looks like its incomplete on the source code): changemodelproperty.
Take a look here: Documentation Project

But basically:
Code:
changemodelproperty(modelIndex,4,1); // on
changemodelproperty(modelIndex,4,0); // off

Changemodelproperty isn't documented because it was an experimental private thing I put in to test viability. It's planned for depreciation and in process of replacement by get and set model property. You can use it and it will work, but don't gripe to me later when it's removed. :P

DC
 
Changemodelproperty isn't documented because it was an experimental private thing I put in to test viability. It's planned for depreciation and in process of replacement by get and set model property. You can use it and it will work, but don't gripe to me later when it's removed. :P

DC
Yep, I know :) But since I am updating the legacy manual and it only covers until V3, I should add it once I have time
 
Back
Top Bottom