Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help with script involving making trees appear/disappear
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#2
RE: Need help with script involving making trees appear/disappear

First, you need to make the trees into entities, and go you Edit>User Defined Variables. Change Type to Object and SubType to Static. Save and put those in your story, as well as fix the names. The SetEntityActive doesn't work for static objects.

Then in your script, change

void tree_door(string &in asParent, string &in asChild, int alState)


to

void tree_door(string &in asEntity)
09-03-2012, 05:39 PM
Find


Messages In This Thread
RE: Need help with script involving making trees appear/disappear - by Statyk - 09-03-2012, 05:39 PM



Users browsing this thread: 1 Guest(s)