▦GMDB Developer ManualGameMaker SDK documentation
AdvertisementAdvertising space

gmdb_mp_bullet_fire

Fires a registered multiplayer bullet from a position and direction. Verify this description against the SDK before publishing.

Syntax

gmdb_mp_bullet_fire(Syntax: gmdb_mp_bullet_fire(_x,_y,_direction,_speed=160,_bullet_object=undefined,_offset=0);

Parameters: _x,_y,_direction,_speed=160,_bullet_object=undefined,_offset=0
Confirm each parameter type, required/optional status, and accepted values.);

Arguments

Syntax: gmdb_mp_bullet_fire(_x,_y,_direction,_speed=160,_bullet_object=undefined,_offset=0);

Parameters: _x,_y,_direction,_speed=160,_bullet_object=undefined,_offset=0
Confirm each parameter type, required/optional status, and accepted values.

Return value / result

Not yet verified. Review the SDK implementation and document the actual return type and possible values.

GameMaker example

// Example from the existing function catalogue; verify before publishing.
gmdb_mp_bullet_fire(x, y, image_angle, 160, o_missile);

Details

REVIEW CHECKLIST
- Confirm purpose and whether intended for public use
- Confirm argument types and valid values
- Confirm return values and asynchronous behaviour
- Test the example in GameMaker
- Check any required Create / Step / Async event setup

SDK source: SDK_TANKS_HTML/scripts/gmdb_mp_api/gmdb_mp_api.gml

SDK source

SDK_TANKS_HTML/scripts/gmdb_mp_api/gmdb_mp_api.gml