I'm using the traceline targeting code, and I'm trying to make it so that you can shoot people not on your team. I thought it was an issue with my shoot command, but I don't see anything else that I haven't checked yet. See if you can spot what i'm doing wrong or know a way to fix this. Thank you.
http://vgshorts.com/BBCode/BBCode3.php?ID=162
Post has been edited 1 time(s), last time on Oct 10 2010, 4:55 pm by mudtalo.
None.
Try to use this website to copy-paste your trigger:
http://vgshorts.com/BBCode/BBCode3.phpIt'll help us have a better visual of it in order to help you.
None.

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.
1. your reload won't work because after the reload check the rest will be executed. So you reload & shot without ammo in your code.
2. I don't know the "traceline targetting code". So you could have shown us the library.
3. The mistake may be inside the code for TargetUnit(TriggeringPlayer()), but I don't know anything about that function except what it may do.
I can only blindly guess that you have to change the code in there to return allied units, too.
4. Please make some more details what doesn't work. What is happening, what did you expect to happen?
Your posts looks like "Does not work. Dunno what's wrong, please look.".
If something doesn't work add some output (text message) to get some data during testing...
Just want to make sure: you do know the trigger will be executed only if all the 8 specified players press the left-click mouse button at the same time?
None.
I have tested it with 2 players, they can shoot AI, aka player 15, but not eachother.
I have uploaded the entire map for download. I keep coming back to this problem with no luck. I feel like i'm not understanding something, as this is my first map. Once again, thank you for your time and help.
http://www.mediafire.com/?6vhjlpk1lsw11i3
None.

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.
The "mistake" is inside traceline().
There is: Target closest unit = ... with player 15. there has to be any player or sth..
Ah man your right thanks, compleatly overlooked that. Works now, ty
None.