Posts
85
Respect
18Add +1
Forum Rank
Rotting Walker
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!For a Margwa you'd pass "spawner_zm_zod_margwa" as the AItype. For a G.I. Unit, you'd pass "spawner_bo3_robot_grunt_assault_mp".
Do be aware the aitype needs to be loaded, so you'll only be able be spawn Margwa in Shadows of Evil since the aitype is not loaded for any other map. You can check which aitypes are loaded by doing /listassetpool 44 in the console.
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Hello, I want to spawn a Margwa on certain rounds.
below Xylozi mentioned that the AIType needs to be loaded before I can use SpawnActor.
What is the code to load an AIType? I tried just the spawnactor function with a script_struct to provide origin and angle but nothing happened. Does the origin have to be on the ground? Or would that spawn the margwa in the ground?
Is it possible to create a script_struct with a script_noteworthy of margwa_location?