Template:O BaseDriveableVehicle: Difference between revisions
Jump to navigation
Jump to search
(-cleanup) |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lang|Template:O BaseDriveableVehicle}} | {{lang|Template:O BaseDriveableVehicle}} | ||
<onlyinclude>{{minititle|BaseDriveableVehicle}} | <onlyinclude>{{minititle|BaseDriveableVehicle}} | ||
{{ | {{O|PlayerOn|param=void}} | ||
{{ | {{O|PlayerOff|param=void|activator=the player|Player entered/exited the vehicle.}} | ||
{{ | {{O|PressedAttack|param=void}} | ||
{{ | {{O|PressedAttack2|ac-is-this=1|param=void|Player pressed the <code>+attack</code>/<code>+attack2</code> key.}} | ||
{{ | {{O|AttackAxis|param=float}} | ||
{{ | {{O|Attack2Axis|activator=the player when exitting the vehicle other-wise it's this entity|param=float|State of the <code>attack</code>/<code>attack2</code> buttons (can only be 0 or 1). Also called when the player exits the vehicle.}} | ||
</onlyinclude> | </onlyinclude> | ||
[[Category:Output Templates|BaseDriveableVehicle]] | [[Category:Output Templates|BaseDriveableVehicle]] |
Latest revision as of 06:05, 7 May 2025
BaseDriveableVehicle:
- PlayerOn <void>
- PlayerOff <void>
- !activator = the player
!caller = this entity
Player entered/exited the vehicle.
- PressedAttack <void>
- PressedAttack2 <void>
- !activator = !caller = this entity
Player pressed the+attack
/+attack2
key.
- AttackAxis <float>
- Attack2Axis <float>
- !activator = the player when exitting the vehicle other-wise it's this entity
!caller = this entity
State of theattack
/attack2
buttons (can only be 0 or 1). Also called when the player exits the vehicle.