Talk:Item suit: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 5: Line 5:


using give won't work...suit is given by a hack in this command -ts2do
using give won't work...suit is given by a hack in this command -ts2do
Sorry but I'm lost.
What I did was insert a point_clientcommand entity.  I then have the player start out inside of a trigger once, which triggers the point_clientcommand with a parameter override of "give item_suit."  That effectively "uses" that console command and thus gives the player the suit from the beginning of the level.
There must be an easier way to do it, though.

Revision as of 23:37, 7 August 2005

The item_suits never seem to show up, what is wrong here?

You've got to spawn it rather than place it. Confusing, I know... --TomEdwards 13:42, 5 Aug 2005 (PDT)

So if I don't want the player to have to spawn it from the console, I have to have another entity spawn it for me?

using give won't work...suit is given by a hack in this command -ts2do

Sorry but I'm lost.

What I did was insert a point_clientcommand entity. I then have the player start out inside of a trigger once, which triggers the point_clientcommand with a parameter override of "give item_suit." That effectively "uses" that console command and thus gives the player the suit from the beginning of the level.

There must be an easier way to do it, though.