five-on-it / packages/sim/src/flyers / spawnFlyer
Function: spawnFlyer()
spawnFlyer(
sim,cls,at,police?):number
Defined in: packages/sim/src/flyers.ts:118
Puts a flyer of class cls in the air at at, holding there (its input asks for no speed, at the height it starts at); police marks it the police's. Returns its entity.
Parameters
sim
cls
number
at
police?
boolean = false
Returns
number