Jump to content

Runcommand for Unit


Cincinatvs

Recommended Posts

I use the following tigger :

RunCommand ( UNIT , 732 , STORM , RECT , “Rect-1” )

I use the UnitID 732 I found for the unit but nothing occurs. Only GROUP ObjectType is working ! :confused:

Is the UnitId the correct ObjectID ?

Tx

Link to comment
Share on other sites

Cincinatvs,

I didn't have this problem. I have managed to move units, groups and armies so far. You probably want to move single soldiers. That works for me.

Two things come to my mind:

Is it really Rect-1 ? Or is it Rect_1? The underscore is the default name. Wrong spelling maybe?

Before the RunCommand have you used the SetWorkArmy?

Can't think of anything else.

Link to comment
Share on other sites

Hi Webwing

I wanted to move a tank Unit.

The trigger was a copy and past from the "Description Mission Trigger" (with new ID & Rect) and nothing has been reported as wrong by the Compiler Trigger.

I made an other attempt by making a past and copy from another mission, double checking my Rect was the correct one and this time IT WORKDED.

So whatever I did check my previous use of the "Desc. Mission Trigger" seems to be similar to the copy I use from the other mission, something doesn't work with this method. :confused:

I am using as much as possible copy of trigger from "official" mission to avoid "no working status".

Thanks for your post. smile.gif

Link to comment
Share on other sites

×
×
  • Create New...