[Pogamut-list] Is ADDINV working properly?

Lennie pogamut-forum at artemis.ms.mff.cuni.cz
Tue Dec 22 16:35:29 CET 2009


Re: Re: Is ADDINV working properly?

Author: Lennie

> Hi Lennie!
> 
> The ADDINV command works just for the bots, not for the players. The solution that will work for you is to use control server command SPAWNACTOR. I am not sure if there is a support for this command in IDE, but sending a text string of this format to control server should work anyway: "SPAWNACTOR {Location 1000,1000,0} {Type xWeapons.RedeemerPickup}". Change the location variable to the desired location (current player position in your case). "Location" holds the location where the object should be spawned, "Type" holds the class of the object that should be spawned. Some examples of working classes (for ADDINV command, but they work for SPAWNACTOR as well) can be found here: ((GB ADDINV classes examples)).
> 
> Hope this helps!
> 
Thanks, it sure does. I think I was using Class instead of Type when trying SPAWNACTOR to do this for me. Thanks for adding it to the documentation.





More information about the Pogamut-list mailing list