Skip to content

Feature: Have AS CreateEntityByName take Class for creation. #2011

@Trico-Everfire

Description

@Trico-Everfire

Which component should be improved?

Other

Describe your suggestion

Have CreateEntityByName like the cast function in AS take <classname> to allow you to spawn an entity and have full access to it's class features.

CreateEntityByName<CBaseCombatWeapon>("weapon_portalgun");

This would allow you to spawn existing or custom entities and have access to the class specific features.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions