Skip to content

Triple and more colon syntax #9

@ChessBerry

Description

@ChessBerry

In the file SBOZhanaseeBomb01_script.lua there is this weird triple colon syntax, which neither me nor my code understand:

self:CreateProjectile('/effects/entities/SBOZhanaseeBombEffect01/SBOZhanaseeBombEffect01_proj.bp', 0, 0, 0, 0, 10.0, 0):SetCollision(false):SetVelocity(0, 10.0, 0)
self:CreateProjectile('/effects/entities/SBOZhanaseeBombEffect02/SBOZhanaseeBombEffect02_proj.bp', 0, 0, 0, 0, 0.05, 0):SetCollision(false):SetVelocity(0, 0.05, 0)

Touching it, even w/o trying to upvalue anything causes a desync. E.g. the following does:

self:CreateProjectile('/effects/entities/SBOZhanaseeBombEffect01/SBOZhanaseeBombEffect01_proj.bp', 0, 0, 0, 0, 10.0, 0)
self:SetCollision(false)
self:SetVelocity(0, 10.0, 0)
self:CreateProjectile('/effects/entities/SBOZhanaseeBombEffect02/SBOZhanaseeBombEffect02_proj.bp', 0, 0, 0, 0, 0.05, 0)
self:SetCollision(false)
self:SetVelocity(0, 0.05, 0)

so idk what's going on

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions