Branches: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "Todo.")
 
m (Todo: sort formatting.)
Line 1: Line 1:
Todo.
 
== Weapon Creation ==
Weapon creation is a branch for creating friable weapon elements
 
Status: In process
Branch: Weapon-Creation
Functions:
weapon createWeapon(type, x, y, z)
type = weapon name e.g. M4
x, y, z = x,y,z position
bool fireWeapon(weapon)
bool setWeaponState(weapon, state)
state = "ready", "firing" or "reloading"
bool setWeaponProperty(weapon, property, value)
property = damage/accuracy

Revision as of 19:29, 21 June 2012

Weapon Creation

Weapon creation is a branch for creating friable weapon elements

Status: In process Branch: Weapon-Creation Functions: weapon createWeapon(type, x, y, z) type = weapon name e.g. M4 x, y, z = x,y,z position bool fireWeapon(weapon) bool setWeaponState(weapon, state) state = "ready", "firing" or "reloading" bool setWeaponProperty(weapon, property, value) property = damage/accuracy