• 0

    posted a message on Get Current Camera Property Throught Triggers

    @Wakeman: Go It's not setting that's the problem, it's getting the values from the current camera. I too am having some serious problems that being able to get precise camera information would solve... as it stands though I have to make crude approximations, which tend to end up being wildly inaccurate in many cases.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Issue Order Effect

    I belive the correct command is "scan move". It appears under the general attack command button, anyway.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Dying on specific ground (escape map)

    You can make many shapes within a region, adding and subtracting them from eachother to get very precise shapes. You could probably map out the entire dangerous area with a single region (caveat: I don't know how many shapes can constitute a single region, as I've been working on a mod rather than maps, and so have to generate regions rather than lay them down)

    Posted in: Miscellaneous Development
  • 0

    posted a message on How to make a buff permanent

    Give it a duration of 0.0 - it'll never wear off that way.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Unbinding spacebar from alert

    Data Editor: Alerts -> whatever alert you want to unbind -> Primary actions -> untick all of the boxes.

    Posted in: Miscellaneous Development
  • 0

    posted a message on [DATA + TRIGGER] Variable question

    Yes. I use a similar method for a "damage unit" action.

    https://dl.dropbox.com/u/2716044/scbz/damage_unit.png

    The catalog lines are the ones of interest to you. "DamageUnit" is the effect ID, "Amount" is the damage amount field of the effect, "Death" is a string that defines the death type - fire, squish, blast etc.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Targeting invisible units

    I've searched around a bit for this subject and found nothing, so here goes.

    I am creating a Battlezone 2 inspired mod where you command units from the third person perspective, but can switch into a traditional RTS view by accessing a command console in a structure. The twist is that you can't see any enemy units when you are in rts mode unless they are within a radius of your structures. This all works.

    The problem is that I still want the units to be able to see enemies, even when you cannot. So they would automatically fight eachother etc, and you simply wouldn't know what the units they are fighting were or where additional forces are.

    I've looked at target finds, tactical AI, filters for various weapons and abilities, and while the units will still chase an invisible unit that they were already attacking while it was visible, they fail to acquire new invisible targets.

    Does anyone have any insight on this problem, or how I might overcome it?

    Edit: The expensive way of solving this would be to have each unit ghosted by another dummy unit which has the "Invisible" model, but is visible as far as the game is concerned. This solves the targeting problem (I have remade weapons to be dumb-fire and collide with the first target they detect, and would be excluding these dummy units), but is somewhat computationally expensive to keep track of and make sure that the dummy units are in the right place and correcty created/destroyed.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Factory/Starport dissapearing for 23.8 seconds after Construction

    In that case, direct your attention towards the build ability on that unit, specifically the build routines for those two structures.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Stalker Warp in Ability

    To streamline the process, there is a super warp gate in the campaign files... I can only imagine that the ability is disabled when the side doesn't have the warp gate tech, regardless of whether they actually have a gate or not.

    The super gate can warp in any number of units at once as fast as you like, with a wider variety, no cost and no tech requirement.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Remove player control

    There's a "make unit uncommandable" action in the trigger editor. Go look for that :)

    Posted in: Miscellaneous Development
  • 0

    posted a message on Simple function question considering the ">="

    Yeah, >= is used in preference to ≥ because it's simply easier to type. Same as using != instead of ≠... you don't have to go rooting through character map or remember alt codes to use it.

    It's a standard set of symbol use across almost all programming and scripting languages. The only exception to any of them that I can think of is lua using ~= instead of !=.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Simple function question considering the ">="

    "Greater than or Equal to"

    Posted in: Miscellaneous Development
  • 0

    posted a message on Show/Hide UI Problem

    Use the show UI frame action to show the command card, minimap, menu bar and resource frame as well as restoring the UI in general. I don't know what suddenly causes it to not restore these pieces, but adding those actions fixes everything, as far as I can tell.

    Posted in: Miscellaneous Development
  • 0

    posted a message on [Unit] How 2 model a newly created unit?

    The basic field you are looking for to change a unit actor assignment is at the top of the right panel - a seperate box appears with a unit-actor association in it.

    Glad to be of help!

    Posted in: Miscellaneous Development
  • 0

    posted a message on Revealer Enabled Condition?

    For efficiency's sake, it's probably better to read a variable than run a function to check the state of an object. Unless you are cramming the memory full of thousands of variables already of course.

    Posted in: Miscellaneous Development
  • To post a comment, please or register a new account.