| 09-17-2003, 10:43 PM | #1 |
does any1 know how u would make a marine shoot were u clik like Half Life or other FPS I tried makin an Item that made an affect in a region with relevant offset and a few other things but I couldnt get it any help gets much, much kudos x 10000000:gsmile: |
| 09-18-2003, 12:52 AM | #2 |
You need to use Z-targeting. Make a flying unit with the model of the projectile you want, then make the game create one just in front of the unit in the direction it's facing, give it an expiration timer, and order it to move in that direction. Still can't figure out how to detect when it touches a unit (as unit in range and unit enters area events don't work with last created unit or variables), so what I did for mine was give it a high damage low AoE permanent immolation. The only way to fire is to use the Player Skips cinematic event (pressing the esc key). |
| 09-18-2003, 01:31 AM | #3 |
thx heaps 4 the tips, u could trigger it like this to make it attack Note: this may only work 4 units with ranged instant attack, i.e Marine, Rifleman Action: PlayerX Selects a Unit Conditions: Targeted unit owned by Neutral Hostile * or not owned by the allies of the player Events:Play Marine0001<gen>'s attack animation blah blah blah then use offset and stuff to make a small explosion happen where u clik:ggani: its not fool proof but its an Idea.......... much Kudos again |
| 09-18-2003, 01:33 AM | #4 |
yes that would work. Depends what you want to do. Oh, and the prob (or plus) with that is that you can't waste ammo firing at nothing. I have just figured out how to z-target properly. I think i'll place it in the trigger repository. check later and it should be there if you want to use it. |
| 09-18-2003, 01:48 AM | #5 |
thx man:D |
