| 06-08-2003, 07:47 PM | #1 |
right, i need to make a region follow a unit, so that every .5 seconds it centers itself on the unit. It won't do it, says the region has to be a veriable, and when i make a region variable and have it set it to the region i desire during the map installation. Does anyone know how to get this to work, is there a tutorial and has anyone used this trigger before Please help |
| 06-08-2003, 08:10 PM | #2 |
For example Initiate variable Set region(region variable)=Region centered at (Position of(Triggering unit)) with size (512,512) For move use Region:Move command Region- Center region(the variable) on (Position of(Triggering unit)) But why dont u just use the unit within range event? |
| 06-08-2003, 08:14 PM | #3 |
thanks! I need it to be a region so that multiple units can be the target |
| 06-08-2003, 08:52 PM | #4 |
i usae pick each unit in unit group units within range of triggering unit and do action because ut forms a circle instead of a square and is more accurate. (after you do this just use event response - picked unit to designate the unit) |
| 06-08-2003, 09:10 PM | #5 |
yeah, but i needed it to work for doodads anyway i've got it to work (damn imprssive code as well) It's to make a working, in-game hungry hungry lizard which you control. take a look on the thread before this one to see what i mean, you mind be able to adapt the code to help you thx for all your help! |
