Jump to content

Remove things using script?


Min1ons

Recommended Posts

Ok, im making a mod that lets the player choose between sides, i want to make it so if the player chooses one side that the other sides buildings and challenges disappear.

But I dont know how to do this in the script, so can someone help me create a basic "Remove" script??? :confused:

Link to comment
Share on other sites

Dunno what you mean by challenges. But to make building disappear, make one persistent and give it a ref name. On all the others, set their enable parent to the persistent one. Then in your script

 

mybuildingref.disable

 

Will disable the persistent one and all the others that have it as an enable parent.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...