Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- actor JetThruster : CustomInventory 11000
- {
- Inventory.PickupMessage "Jet Thruster!"
- Inventory.Amount 1
- Inventory.MaxAmount 5
- Inventory.PickupSound "misc/p_pkup"
- Inventory.UseSound "misc/jetthruster"
- Inventory.Icon "ARTIJET"
- +INVENTORY.FANCYPICKUPSOUND
- +INVBAR
- +COUNTITEM
- states
- {
- Spawn:
- JETT A -1
- Stop
- Use:
- TNT1 A 0 A_JumpIf(GetPlayerInput(-1,BT_USE) & CheckInventory("PowerFlymo",1),"Fail")
- TNT1 A 0 A_GiveInventory("PowerFlymo",1)
- loop
- Fail:
- TNT1 A 0 A_JumpIf(GetPlayerInput(-1,BT_USE) & CheckInventory("PowerFlymo",0),"Use")
- TNT1 A 0 A_TakeInventory("PowerFlymo",1)
- loop
- }
- }
- So,i tried to make this a constant jetpack as i planned(originally a 1 minute jetpack for use only once) and when i try to run in Zandronum it gives me very fatal error with Calling unknown ACS FUnction GetPlayerInput and in GZDOOM latest version,Sprite Names Must be Exactly 4 characters on a line where is a state name.Whyyy?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement