Results 1 to 10 of 26

Thread: Standalone Airstrike CoD2

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #13
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by goddzila View Post
    DoAirstrike()
    {
    self endon("disconnect");

    if(isDefined(level.airstrikeUse) && level.airstrikeUse != "")
    self iPrintlnBold(level.airstrikeUse);

    self waittill("binocular_fire"); <==================================== for:this:I need
    targetPos = GetTargetedPos();

    if(isDefined(level.airstrikeIncommingText) && level.airstrikeIncommingText != "")
    iPrintln(level.airstrikeIncommingText);

    if(isDefined(targetPos))
    That is an engine notification - when you raise your binoculars, the game notifies you "binocular_enter"; when you lower them, it notifies you "binocular_exit". You don't have to do anything. The game does it for you.

    They are left over notifications from COD:United Offensive - in that game, you fired artillery with the binoculars you acquired when you were a certain rank. The game notified itself that the binoculars had been raised, and then there was a function to monitor for the attackbutton pressed. Then, it targeted what the player was looking at, and fired the artillery on their position. It ended on lowering the binoculars with the notification "binocular_exit".

  2. The Following 3 Users Say Thank You to Tally For This Useful Post:

    kung foo man (11th January 2014),serthy (16th August 2020),smect@ (12th January 2014)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •