Crossbow suddenly damaged
by Dennis Lamers · in Torque Game Engine · 09/29/2009 (3:49 pm) · 5 replies
Hi,
I was working on my new game. Suddenly I started the game and I didn't had my crossbow. I was confused, and I want the crossbow back to carry it in my game. I can't work further, since I can't spawn the crossbow in MissionEditor.
I was working on my new game. Suddenly I started the game and I didn't had my crossbow. I was confused, and I want the crossbow back to carry it in my game. I can't work further, since I can't spawn the crossbow in MissionEditor.
About the author
Creator of Peekarica and Blockland Classic Mod.
#2
09/30/2009 (1:09 pm)
Oh, I think I removed the crossbow spawn out of my player.cs. Because I wanted something that the players have to pick up their weapons in the city.
#3
09/30/2009 (1:49 pm)
Well there you go, let us know if you still can't get it.
#4
Double check for error messages in the console: syntax errors, parse errors, advanced script errors, failure to preload, etc., etc.
09/30/2009 (5:07 pm)
Quote:If you did this in player.cs what you actually did was remove the crossbow from allowable inventory -- although that wouldn't affect being able to spawn one in the world, you just wouldn't be able to pick it up. It's in game.cs that the player is given the crossbow when he/she spawns.
I think I removed the crossbow spawn out of my player.cs.
Double check for error messages in the console: syntax errors, parse errors, advanced script errors, failure to preload, etc., etc.
#5
09/30/2012 (2:37 am)
Hey do you tell me how to add weapons to player hand
Torque Owner Richard Preziosi
WinterLeaf Entertainment