Spawn Powerup

broken avatar :(
Created 1400 days ago
by reckfullies
0 Members and 1 Guest are viewing this topic.
1,024 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 12 September 2016
Last active: 169 days ago
Posts
306
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
×
reckfullies's Groups
reckfullies's Contact & Social LinksReckfulliesReckfullies
How would I go about spawning a powerup at a certain position in my script?

I've been looking through the _zm_powerups.gsc file and can't figure out which function spawns a specific powerup.
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 4 October 2016
Last active: 1338 days ago
Posts
10
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
Xylozi's Groups
Xylozi's Contact & Social Links
The function specific_powerup_drop let's you spawn a power up the world at a specific origin.

level thread zm_powerups::specific_powerup_drop( "nuke", origin );
Marked as best answer by reckfullies on Today at 06:23:54 pm
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 7 March 2016
Last active: 1354 days ago
Posts
5
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
deathy0909's Groups
deathy0909's Contact & Social Links
//From _zm_powerups.gsc
//specific_powerup_drop( powerup_name, drop_spot, powerup_team, powerup_location, pickup_delay, powerup_player, b_stay_forever )

//Example use? I guess
level thread zm_powerups::specific_powerup_drop("full_ammo", origin);

 

Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch
Loading ...