Results 1 to 2 of 2

on construction actions

  1. #1
    Member Don_Durandal's Avatar
    Join Date
    Oct 2006
    Location
    Switzerland

    on construction actions

    I'm having trouble with making two actions work when tied to a building's "on_construction_actions" construction_ext child:

    ui_selection_type_change
    This one seems to work on the vanilla cmw HQ truck when tied to an upgrade, but not when added as an ability_action to the aforementioned ext.
    I want to make a building selectable while in construction (to allow scuttling) but un-clickable (i.e. "targettable") after having been built.

    set_rallypoint_action
    As with the previous action it works fine on the HQ truck, but not when added to the construction_ext.
    I want to use this on a building that uses off-map spawning, to make the units go to the building instead of staying at the map entry point.

    Any idea why these do not work? Or any possible alternative you could think of considering my intentions?

  2. Modding Senior Member Company of Heroes Senior Member  #2
    Celéstial by heart Celution's Avatar
    Join Date
    Apr 2008
    Location
    Sweden
    1. Well I don't think you can make the building completely unselectable, but you can change the type_target_weapon to tp_invincible_no_target, so that nothing can attack it.


    2. You most likely have to do this with ScAR. I know AGameAnx wrote a script for this once, I'll have to ask him to come and look at this question.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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