• All, I am currently in the process of migrating domain registrations. During this time there may be some intermittent outages or slowdowns. Please contact staff if you have any questions.

How To unlock a character only if the game is finished with another specific character?

StrikerX

Member
# Follow called at specific stage at end of Hulk story
anim follow20
@script
void P1 = getplayerproperty(0, "entity");
void Model = getentityproperty(P1, "model");

if(Model == "Hulk") {unlock_character (Model == "Ironman");}

@end_script
But it doesn' work, any help?
 
# Follow called at specific stage at end of Hulk story

But it doesn' work, any help?

What is this?

C:
unlock_character (Model == "Ironman");

I assume unlock_character is a function you wrote or copied, but there's no way to know without seeing it. No matter what though, that's not a correct function argument. It should probably look like this:

C:
unlock_character ("Ironman");

Again though, we have no way to tell without more to work with.

DC
 
Back
Top Bottom