![]() |
#1
|
|||
|
|||
![]()
Hi,
I have a curly one. I have a script that works fine on individual triggers. But I want to bundle two triggers together. 1) So the first thing is a group spawn 11_Chief 2) Then it triggers an action "action1 ASpawnGroup 0 11_Chief" 3) Since 11_Chief already exists it spawns IN GAME a 1:11_Chief when you right click on the screen and view vheicles you see this. 4) The issue is when you look below I have named trigger Target1_1 1:Chief but it does not recognise that as the valid name in game to set the trigger off. Anyone know what naming the 1:11_Chief should be in the below trigger area??? I know i can just hard code a second chief called 12_Chief but that is not what I want. Anyone know what the TRIGGER 1:11_Chief should be in .mis file. I have tried these and they don't seem to work below do't work. ![]() Target1_1 TGroupDestroyed 1:11_Chief 100 Target1_1 TGroupDestroyed _11_Chief 100 Target1_1 TGroupDestroyed 1_11_Chief 100 Target1_1 TGroupDestroyed 11_1_Chief 100 [Trigger] Target1 TGroupDestroyed 11_Chief 100 Target1_1 TGroupDestroyed 1:11_Chief 100 [Action] action1 ASpawnGroup 0 11_Chief Code:
public override void OnTrigger(int missionNumber, string shortName, bool active) { base.OnTrigger(missionNumber, shortName, active); if (("Target1".Equals(shortName) && active) && ("Target1_1".Equals(shortName) && active)) { GamePlay.gpHUDLogCenter("Column destroyed!!!"); GamePlay.gpGetTrigger(shortName).Enable = false; }
__________________
__________________ Win7, 64bit Ultra Asus P8P67Pro MB Intel i7-2600K Coursair 16GB (4x 4GB), DDR3-1600MHz Gainward Nvidia 580GTX 3GB DDR5 850-Watt Modular Power Supply WIN7 and COD on Gskill SSD 240GB 40" Panasonic LCD TrackIR5 + Thrustmaster Warthog stick, throttle & pedals |
|
|