If you want to be clever, create your own ConCommand that spawns
entities. It's quite simple, take a look in HL2_Player under CreateJeep.
That will teach you how to spawn basically any entities you need.

Of course, you would need to have ConVars as well and you'd have to type
those in before to set settings. Unless you want to be a bit tricky and
have it all read from the ConCommand (i.e. "SpawnEntity prop_physics
myName x y z") but you'd have to do some string work with that.

This code of course goes in the server-side code, not client.

K. Mike Bradley wrote:

Does any one know the full syntax of the give command?

I need to add entities manually to do some testing.

There must be optional parameters to specify the target name (so it can be
manipulated) and spawn flags and position in the map x,y,z.

Anyone?


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders






--
Kamran A
Get Firefox! Safer, Faster, Better.
<http://www.spreadfirefox.com/?q=affiliates&id=0&t=85>
Down with Internet Explorer! Say "NO!" to Spyware! Use Firefox

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to