Crossbow suddenly damaged
by Dennis Lamers · in Torque Game Engine · 09/29/2009 (3:49 pm) · 4 replies
Hi,
I was working on my new game Peekarica Retail version. 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 my crossbow in MissionEditor.
I was working on my new game Peekarica Retail version. 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 my crossbow in MissionEditor.
About the author
Sixteen years old. Living in Holland. Just an beginner to Torque, planning to buy it with Christmas. Love Torque Game Engine the most. ;)
#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.
Torque Owner Richard Preziosi
WinterLeaf Entertainment