Template:O BaseDriveableVehicle: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| m (→top:  Substituted IO templates) | No edit summary | ||
| (One intermediate revision by the same user not shown) | |||
| 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= | {{O|AttackAxis|param=float}} | ||
| {{O|Attack2Axis|param= | {{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/+attack2key.
- AttackAxis <float>
- Attack2Axis <float>
- !activator = the player when exitting the vehicle other-wise it's this entity
 !caller = this entity
 State of theattack/attack2buttons (can only be 0 or 1). Also called when the player exits the vehicle.