Template:O BaseDriveableVehicle: Difference between revisions
Jump to navigation
Jump to search
(not bool) |
No edit summary |
||
Line 1: | Line 1: | ||
{{lang|Template:O BaseDriveableVehicle}} | {{lang|Template:O BaseDriveableVehicle}} | ||
<onlyinclude>{{minititle|BaseDriveableVehicle}} | <onlyinclude>{{minititle|BaseDriveableVehicle}} | ||
{{O|PlayerOn}} | {{O|PlayerOn|param=void}} | ||
{{O|PlayerOff|Player entered/exited the vehicle. | {{O|PlayerOff|param=void|activator=the player|Player entered/exited the vehicle.}} | ||
{{O|PressedAttack}} | {{O|PressedAttack|param=void}} | ||
{{O|PressedAttack2|Player pressed the <code>+attack</code>/<code>+attack2</code> key.}} | {{O|PressedAttack2|ac-is-this=1|param=void|Player pressed the <code>+attack</code>/<code>+attack2</code> key.}} | ||
{{O|AttackAxis|param=float}} | {{O|AttackAxis|param=float}} | ||
{{O|Attack2Axis|param=float|State of the <code>attack</code>/<code>attack2</code> buttons. Also called when the player exits the vehicle.}} | {{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.