Game Modding | Call of Duty: Black Ops 3 | Scripting
ModmeBot:
Thread By: Ahmed02354
how do I put a power-up that stays there till you take it, as example in mob of the dead and shadows of evil in the starting room
ModmeBot:
Reply By: Dan9977
I use this to spawn a max ammo. In radiant make a script struct with the tareget name "max_ammo_drop_spot" where you want the power up to spawn.
ModmeBot:
Reply By: Ahmed02354
Dan9977
I use this to spawn a max ammo. In radiant make a script struct with the tareget name "max_ammo_drop_spot" where you want the power up to spawn. spot = struct::get( "max_ammo_drop_spot", "targetname" ); spot thread zm_powerups::specific_powerup_drop( "full_ammo", spot.origin,undefined ,undefined ,undefined , undefined, true );
ModmeBot:
Reply By: Dan9977
Ahmed02354
Dan9977 I use this to spawn a max ammo. In radiant make a script struct with the tareget name "max_ammo_drop_spot" where you want the power up to spawn. spot = struct::get( "max_ammo_drop_spot", "targetname" ); spot thread zm_powerups::specific_powerup_drop( "full_ammo", spot.origin,undefined ,undefined ,undefined , undefined, true ); I did this but it doesnt spawn?
ModmeBot:
Reply By: Ahmed02354
what code lol
ModmeBot:
Reply By: Ahmed02354
Dan9977
Ahmed02354 Dan9977 I use this to spawn a max ammo. In radiant make a script struct with the tareget name "max_ammo_drop_spot" where you want the power up to spawn. spot = struct::get( "max_ammo_drop_spot", "targetname" ); spot thread zm_powerups::specific_powerup_drop( "full_ammo", spot.origin,undefined ,undefined ,undefined , undefined, true ); I did this but it doesnt spawn? Can I see your code?
ModmeBot:
Reply By: Dan9977
What exactly are you trying to do?
ModmeBot:
Reply By: Ahmed02354
I got it.
I had it pasted underneath funtion buyable_powerup and not under thread init_power();
I am a noob at scripting but have it now, thanks