SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
Thread Tools | Display Modes |
12-22-19, 04:18 PM | #1 |
Watch
Join Date: Jul 2017
Posts: 27
Downloads: 19
Uploads: 0
|
How to make torpedoes to guide at "noisemakers"
in
private bool CheckTargetInSensorCone() add this code below line 23 --------------------------------------- for (int j = 0; j < UIFunctions.globaluifunctions.playerfunctions.sens ormanager.noisemakerObjects.Length; j++) { if (this.CheckWithinSensorAngles(UIFunctions.globalui functions.playerfunctions.sensormanager.noisemaker Objects[j].gameObject.transform) && !this.passiveHoming) { this.targetTransform = UIFunctions.globaluifunctions.playerfunctions.sens ormanager.noisemakerObjects[j].transform; this.DisableSnake(); return true; } } ------------------------------------ ------------------------------------ Can I give a link to my page here ? |
|
|