Hello Guys,
my problem is,
when the Quest is done it should Active an Prefab in the scene, but it dont work
i dont know how to fix it.
Active game object and invector
Re: Active game object and invector
Hi,
Are you using an Instantiate Prefab quest action? You can add it to the quest's Successful state > Actions list. It will instantiate a prefab when the quest reaches the successful state.
Are you using an Instantiate Prefab quest action? You can add it to the quest's Successful state > Actions list. It will instantiate a prefab when the quest reaches the successful state.
-
- Posts: 3
- Joined: Tue Aug 04, 2020 2:45 pm
Re: Active game object and invector
iam not using Instantiate Prefab quest action iam using Active gameobject uest Action
- Attachments
-
- 2.PNG (11.51 KiB) Viewed 518 times
-
- 1.PNG (13.58 KiB) Viewed 518 times
Re: Active game object and invector
Is killer123 the exact name of a GameObject currently in the scene?
-
- Posts: 3
- Joined: Tue Aug 04, 2020 2:45 pm
Re: Active game object and invector
yes, dont worry i used Instantiate Prefab quest action its much better as it take drag and drop not by name.
Re: Active game object and invector
Great! Sounds like it's working then.
BTW, they have different purposes.
Activate GameObject activates/deactivates a GameObject that is already in the scene.
Instantiate Prefabs creates a new GameObject in the scene from a prefab asset that's in your project.
BTW, they have different purposes.
Activate GameObject activates/deactivates a GameObject that is already in the scene.
Instantiate Prefabs creates a new GameObject in the scene from a prefab asset that's in your project.