Skip to content

Entity projectile info is int when it should be float in AngelScript #490

@qwertyuiopasd1113

Description

@qwertyuiopasd1113

When trying to use Entity.projectileMaxDamage, projectileMinDamage, projectileMaxKnockback, and projectileMinKnockback, in my custom gametype, they are a very high value since they are int instead of float

G_Print("pMxD:"+ent.projectileMaxDamage+" pMnD:"+ent.projectileMinDamage+" pMxK:"+ent.projectileMaxKnockback+" pMnK:"+ent.projectileMinKnockback+"\n");

outputs: pMxD:1117782016 pMnD:1097859072 pMxK:1120403456 pMnK:1108082688

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions