!! func_tanktrain(Tank,SetSpeed) doesn't match type from...

Avatar
PapaSpit
11 Posts
Posted Jun 03, 2011
How do i fix output/input?
Advertisement
Registered users don’t see ads! Register now!
Avatar
WinstonSmith
940 Posts
Posted Jun 04, 2011
Replied 23 hours later
You're going to have to be a bit more specific. Give us the details of what you're working on, exactly what the error is, etc.
Avatar
PapaSpit
11 Posts
Posted Jun 05, 2011
Replied 23 hours later
Right Sorry... Ok what im trying to do is make a lift work with a floor button. Here i have a picture of the outputs on the button. http://s1128.photobucket.com/albums/m500/Joshua_Nathan_Akers/?action=view&current=floorbutton.jpg#!oZZ2QQcurrentZZhttp%3A%2F%2Fs1128.photobucket.com%2Falbums%2Fm500%2FJoshua_Nathan_Akers%2F%3Faction%3Dview%26current%3Dfloorbuttonoutput.jpg however when i start the game and i step on the button i get this error

http://s1128.photobucket.com/albums/m50 ... _00004.jpg

&

Avatar
ChickenMobile
2,460 Posts
Posted Jun 06, 2011
Replied 5 hours later
Your tank doesn't even set a speed (the value is null) according to your output. You should put a number in "With a Parameter Override of". And you shouldn't be using a tank but a 'func_train', but honestly I don't know how they act differently.
Avatar
WinstonSmith
940 Posts
Posted Jun 06, 2011
Replied 9 hours later
Use a func_tracktrain instead of a func_tanktrain. The main difference is that a func_tanktrain shoots at you as it moves, I believe. And yes, you have to specify a speed in the Parameter field.
Avatar
PapaSpit
11 Posts
Posted Jun 06, 2011
Replied 10 hours later
Thank you! that worked quite well. But now it spawns vertical instead of horizontal....Iv looked through the settings, but i dont see where im supposed too change the spawning orination. Any help?
Avatar
WinstonSmith
940 Posts
Posted Jun 06, 2011
Replied 2 minutes later
Go to "Flags" and check "Fixed Orientation".
Advertisement
Registered users don’t see ads! Register now!
Avatar
PapaSpit
11 Posts
Posted Jun 08, 2011
Replied 1 day later
Thanks man for the help.