Template:Scripting/Squirrel/Functions/Game Functions
This wiki is using an old backup from 2020
Some information may be old/missing
- CreateExplosion( world, type, pos, playerCaused, onGround )
- PlaySound( world, sound, pos )
- CreateRadioStream( radioName, radioURL, CanSelect ) / ( streamID, radioName, radioURL, CanSelect )
- DestroyRadioStream(radioID)
- SetWorldBounds( maxX, minX, maxY, minY )
- GetWorldBounds()
- GetWeaponName( id )
- GetDistrictName( x, y )
- GetSkinName( id )
- GetWeaponID(name)
- InPoly(x,y,x1,y1,x2,y2,x3,y3,x4,y4)
- DistanceFromPoint( x1, y1, x2, y2 )
- CreateMarker( world, pos, scale, color, SpriteId )
- DestroyMarker(Marker)