UGX-Mods 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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - harvez

Add this to the top of the script:
Code Snippet
Plaintext
#using scripts/zm/_zm_powerups;

Then add this to the shootable_done function:
Code Snippet
Plaintext
level thread zm_powerups::specific_powerup_drop("powerupname", origin);

Just replace "powerupname" with the code name of the powerup.

Avaliable Powerups:
Spoiler: click to open...
  • bonfire_sale
  • carpenter
  • double_points
  • fire_sale
  • free_perk
  • full_ammo
  • insta_kill
  • shield_charge
  • weapon_minigun
  • ww_grenade

Then make origin the origin you want the powerup to spawn at.
Example:
Code Snippet
Plaintext
test = GetEnt("test", "targetname");

level thread zm_powerups::specific_powerup_drop("full_ammo", test.origin); // This will spawn a max ammo at the origin of the test entity.

im getting this error?
^1}
^1^
^1ERR(6E) scripts/custom/shootable.gsc (157,1)  : Compiler Internal Error :  Unresolved external 'zm_powerups::specific_powerup_drop'
7 years ago
I'm keep getting this error, please help.
7 years ago
I'm keep getting this error when compiling but when it finishes the map loads up but nothing a radiant that i do shows up?
8 years ago
I get this error now, I updated my script to the new one and added the electric cherry part?

^1}
^1^
^1ERR(6E) scripts/custom/shootable.gsc (28,1)  : Compiler Internal Error :  Uninitialized local variable 'player'
8 years ago
I get this error while compiling?

^1}
^1^
^1ERR(6E) scripts/custom/shootable.gsc (18,1)  : Compiler Internal Error :  Uninitialized local variable 'targetname'
8 years ago
Loading ...