Jump to content

Paskinder Singh

Member
  • Content Count

    8
  • Joined

  • Last visited

  • Medals

Community Reputation

2 Neutral

About Paskinder Singh

  • Rank
    Private
  1. Paskinder Singh

    Cover Compromised Script

    Ah I see, I'm still getting the hang of the magic variable. Your amendments to the script still don't run anything. I'll have a mess around with the checkVisibility command in case that is messing it up. Thanks for the pointers!
  2. Hi all, I'm working on a resistance fighter mission and I'm aiming to create a lite-script so that any armed players will be treated as hostile. I'm having trouble with the segment where I have a Fired event handler which then checks if the enemy can see the shooter, and if so it permanently makes the enemy hostile. However, this part of the script doesn't appear to do anything at all. I've gone through each element of it but cannot place which part is going wrong, if anyone has the time to spot any bugs that would be greatly appreciated! Here's the initPlayerLocal: Thanks
  3. Paskinder Singh

    AddAction to Manual Camera

    I gave it a go, and it works! Thank you ever so much for your suggestions and guidance.
  4. Paskinder Singh

    AddAction to Manual Camera

    I've trimmed everything out and for now have a working version, The caveat being that I cannot get the desired 3rd person view of the bird model (you were completely correct, returning to the player object just did not work with the loop I made). Any ideas on how I can achieve this 3rd person view without problematic loops? Thanks again, you've been a great help!
  5. Paskinder Singh

    AddAction to Manual Camera

    I think I understand the parameter problem, I will have a go at rectifying it tomorrow. I'm surprised I can't find an example of someone trying something similiar to what i'm attempting, maybe it just is unworkable! The "External" view using the Kestrel model clips through the model, resulting in an ugly mesh covering part of the screen. This loop ensures a smooth third-person viewpoint at all times. Right! That makes sense, thank you for the clarification and all your help so far. Cheers!
  6. Paskinder Singh

    AddAction to Manual Camera

    I've streamlined everything into a single script: I'm now getting "Error undefined variable in expression: _flycleanup". I assume this is because I have not defined the script for _flycleanup within the definition for _terminator. I need to terminate _terminator script so that reloading once back in control of the player object doesn't pop up an error about YOURTAG_cam. Also I need to terminate _flycam so that the view isn't constantly returning to the space where the now deleted YOURTAG_cam was! I feel I am going about this the wrong way, does anyone have an idea where I'm going wrong? Thanks!
  7. Paskinder Singh

    AddAction to Manual Camera

    Ah, that makes complete sense now. Thanks for you help!
  8. Hi all, I'm trying to add a feature to a scenario which will allow players to use a menu action to create a camera (in this case a kestrel) which they can fly around in. Then, once they are done scouting, can use another menu action to destroy the camera and return to controlling their soldier. Just on a quick testbed scenario I have the following scripts. In my init.sqf I have Then I have two scripts. In "flyfree.sqf" is have In "Stopflying.sqf" I have: Thus far the main problem I am encountering is that I cannot get any menu actions when you are transferred to controlling the camera. Is this an inherent feature of Arma with no workaround? A second minor problem which may be my client is that in the debug commands I can destroy the camera, but it doesn't automatically return to controlling the soldier. Any help will be greatly appreciated! Thanks
×