SharpMod.Entity.Spawn C# (CSharp) Method

Spawn() public method

public Spawn ( ) : void
return void
        public void Spawn()
        {
            MetaModEngine.dllapiFunctions.Spawn(this.Pointer);
        }

Usage Example

Beispiel #1
0
        public Entity GiveItem(string itemname)
        {
            Entity item = new Entity(itemname);

            if (item.IsNull)
            {
                return(null);
            }

            item.Origin      = Origin;
            item.Spawnflags |= (1 << 30);

            item.Spawn();

            item.Touch(this);

            return(item);
        }
All Usage Examples Of SharpMod.Entity::Spawn