I placed an xMarker and put DefaultEnableDisableLinkedRef script that should enable another xMaker that has several bad guys attached to it as enabled parent.
What I need to do is have a condition where if the player is within Xunits of the xMaker it triggers the bandits.
Something like:
if game.getplayer().IsWithinXunits() == trueThen the script to enable the linked ref.endif
Any ideas?
I really don't want to use a trigger box because I would have to make it quite large and it would clutter up the area for future stuff I might want to add.
Thanks!