How does the "return value" work?
Posted: Wed Nov 29, 2017 2:41 pm
I am currently playing around with script stuff and noticed that "SpawnSpot" returns a value if it successfully spawns an actor, actually if you spawn an actor with "SpawnSpot" on a map spot and one is blocked, it returns "1" if I have understood this correctly.
But how can I use that in ACS? I mean, how can I restart a spawning script in case SpawnSpot doesn't return 1 but 0? Or how can I proceed through script if it returns 1 as expected?
But how can I use that in ACS? I mean, how can I restart a spawning script in case SpawnSpot doesn't return 1 but 0? Or how can I proceed through script if it returns 1 as expected?