For example:
You start looking through binocs, scroll down one, you are in top of turret cupola thing, scroll down one again, you are in the cupola with hatch shut, scroll down again and your looking through the tanks optics.
How can I add a feature so if was to; scroll down one again (while looking through optics)..... it would run a command or execute a script etc. ?
I've tried making a mutator with this:
The IS2CannonPawn.uc is in the same folder as the IS2A2.uc
For some reason, it don't work? Can anyone figure out why? I followed the wiki BeyondUnreal thing on changing vehicle settings, but its not working
You start looking through binocs, scroll down one, you are in top of turret cupola thing, scroll down one again, you are in the cupola with hatch shut, scroll down again and your looking through the tanks optics.
How can I add a feature so if was to; scroll down one again (while looking through optics)..... it would run a command or execute a script etc. ?
I've tried making a mutator with this:
class IS2A2 extends IS2CannonPawn;
function PostBeginPlay()
{
Super.PostBeginPlay(); // Run the super class function (Mutator.PostBeginPlay).
Log("IS2A2"); // Write our log message
}
defaultproperties
{
FriendlyName="IS2A2 Mutator"
Description="Log 'IS2A2'."
DriverPositions(4)=(ViewLocation=(X=-200,Y=-25,Z=10),ViewFOV=21,PositionMesh=Mesh'allies_is2_anm.IS2_turret_int',DriverTransitionAnim=none,ViewPitchUpLimit=6000,ViewPitchDownLimit=64500,ViewPositiveYawLimit=19000,ViewNegativeYawLimit=-20000,bDrawOverlays=true,bExposed=false)
}
The IS2CannonPawn.uc is in the same folder as the IS2A2.uc
For some reason, it don't work? Can anyone figure out why? I followed the wiki BeyondUnreal thing on changing vehicle settings, but its not working
Last edited: