driver: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
back to [[Scripting_Reference#D|COMREF]] | |||
<h2 style="color:#000066">'''driver ''vehicle'''''</h2> | <h2 style="color:#000066">'''driver ''vehicle'''''</h2> | ||
'''Operand types:''' | '''Operand types:''' | ||
vehicle: [[Object]] | '''vehicle:''' [[Object]] | ||
'''Type of returned value:''' | '''Type of returned value:''' | ||
Line 11: | Line 14: | ||
'''Description:''' | '''Description:''' | ||
Driver of the vehicle, if vehicle is not vehicle but person, person is returned. | Driver of the '''vehicle''', if vehicle is not vehicle but person, person is returned. | ||
'''Example:''' | '''Example:''' | ||
? ('''driver''' (vehicle player) != player : goto "reassign" | ? ('''driver''' ([[vehicle]] [[player]]) != [[player]] : [[goto]] "reassign" |