User Tools

Site Tools


prpl:getallconnectedbonds

<- PRPL reference <- Particles

GetAllConnectedBonds

ArgumentsResultNotation
pid bid* count [ int - int* int]

Description

Gets all bonds that are connected to this particle in a chain. All the bond ids are pushed on top of the stack, with the total count pushed on top of it, similar to GETCORESWITHVAR.

Examples

# destroy all bonds
<-pid GetAllConnectedBonds 0 do
    DestroyBond
loop
prpl/getallconnectedbonds.txt · Last modified: 2018/06/17 14:48 by kajacx