Gotweapon: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Hendricks266 (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
{ | { | ||
setplayer[THISACTOR].'''gotweapon''' PISTOL_WEAPON ZERO | setplayer[THISACTOR].'''gotweapon''' PISTOL_WEAPON ZERO | ||
setplayer[THISACTOR].ammo_amount PISTOL_WEAPON ZERO | setplayer[THISACTOR].[[ammo_amount]] PISTOL_WEAPON ZERO | ||
} | } | ||
} | } |
Revision as of 00:40, 10 January 2012
This is an array of values which specify whether the player has a certain weapon.
This is deprecated when it comes to HANDBOMB_WEAPON or TRIPBOMB_WEAPON.
onevent EVENT_RESETWEAPONS { ifvare MULTIMODE 1 { ifvare VOLUME 0 { ifvare LEVEL 0 // remove the player's pistol if they spawned in single player on E1L1 { setplayer[THISACTOR].gotweapon PISTOL_WEAPON ZERO setplayer[THISACTOR].ammo_amount PISTOL_WEAPON ZERO } } } } endevent