Driving

MatB

New member
We have several different 'vehicles' a character can drive/control. Each of these has different camera requirements requiring the system be put into a different State for each. However, the Drive ability can only change the State to 'Drive'. And if I add [AllowDuplicateTypes] to Drive so I can add an additional Drive ability (and therefore set a different State for each), both Drive abilities will trigger each time they encounter an IDriveSource. Is there a way to differentiate each Vehicle's Drive without having to modify the Opsive code-base?
 
This is not built into the Drive ability, but you could accomplish it by subclassing the Drive ability and setting a different state based on the vehicle being driven.
 
Top