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?
I tried to modify it from Realm667 to make it better,so why is that?
Pleaseeeeeeeee,idk why,it comes to that shit,plsss help meee
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?
I tried to modify it from Realm667 to make it better,so why is that?
Pleaseeeeeeeee,idk why,it comes to that shit,plsss help meee
Share this post
Link to post