CaptainManiac Posted October 22, 2016 Ok,so i am trying to make powerup with many types.I needed it to be with Drain,Damage,OctoDamageProtection,Shadow,HighJump,etc and to be for using.WHen i use it it does not give any of them.Hiw to make it give all of them? Here is the code: actor TheDamnedScript:PowerupGiver { DamageFactor "Normal",8.0 DamageFactor "Fire",2.0 Inventory.MaxAmount 2 Powerup.Color Redmap,0.7 Powerup.Duration -12 POwerup.Mode "Cumulative" Powerup.Strength 70 Powerup.Type "Shadow" Powerup.Type "OctoSpeed" Powerup.Type "Buddha" Powerup.Type "Damage" Powerup.Type "Frightener" Powerup.Type "OctoAbsorb" Powerup.Type "DoubleFiringSPeed" Powerup.Type "Strength" Powerup.Type "Regeneration" Powerup.Type "WeaponLevel2" Powerup.Type "Drain" Powerup.Type "HighJump" Powerup.Type "Ironfeet" Inventory.Pickupmessage "The script of the Damned!Everyone who reads this is DAMNED!!!" Inventory.Icon "DMSCA0" inventory.Respawntics 1200 +Countitem +Floatbob +Inventory.Pickupflash +Inventory.Invbar states { spawn: MEGA A 2 loop Use: DMSC A 3 TNT1 A 1 A_Print("What the Hell is happening to me?!!!",1.0,"DBIGFONT") stop } } actor PowerOctoAbsorb:PowerProtection { -Inventory.Invbar DamageFactor "Normal",0.125 DamageFactor "Fire",0.125 } Actor PowerOctoSpeed:Powerup { -Inventory.Invbar Speed 8 } The code of the powerup is along the other custom powerups i have scripted Where is my mistake at? 0 Share this post Link to post
Empyre Posted October 22, 2016 You need to make a separate actor for each of those power-ups, and then in TheDamnedScript, use A_GiveInventory to give the player each one. Look at how the MegaSphere works. 0 Share this post Link to post