Referencing scene transforms from prefab

Great, it works great getting the Find task on a shared gameobject / transform shared variable. I'll try calling them with code latter on.
But relating to waypoints, as Patrol Task has the list of transforms, but not variables....
1. how can we populate those values?
2. The integration with Simple Waypont System is working? Would be easy to call these waypoints and referencing scene objects? How does the integration works?

Thanks.
 
(this thread was split, originally referencing this page: https://opsive.com/support/documentation/behavior-designer/referencing-scene-objects/)

1. how can we populate those values?
The Deathmatch AI Kit is currently deprecated but it had to deal with something similar. For that I created a script that existed within the scene and populates the patrol waypoint list using SetValue of the SharedGameObjectList. This is similar to the very bottom example in the Referencing Scene Objects page.

2. The integration with Simple Waypont System is working? Would be easy to call these waypoints and referencing scene objects? How does the integration works?
The SWS sample scene doesn't contain any assets at the project-level so everything is at the scene-level. When everything is within the scene you can reference them directly.
 
Top