OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: ryankaplan on 30 Jun 2004, 23:52:58
-
i don't now how to do this. I know you need to it through the action command ( unitname action ["action"] ) but i don't know what that action is called. can you please help me? or is there another way?
and also how can i get a A10 to bomb a specific area and not a unit? i can give it the destroy command but that only works with units.
and yes, i know i am a noob, that's why i came to guys for help.
and also for some reason i can't get a unit to do any action at all. i have 1.96 and when i put this action ["SITDOWN"] or this action ["STR_ACTION_SITDOWN"] (dunno which one is right) they don't do it. am i doing something wrong or is the command reference i've got telling me the wrong thing?
-
For a Black Op to place a satchel charge, in a trigger or waypoint put:
unitname fire ["put","pipebomb"]
For the sitdown thing, try using playmove or switchmove instead of action, and you don't need the brackets if it's not an array.
A10LGB's don't do carpet bombing. You can script it if you want it that bad. In all likelihood, there's scripts for that already, or it can be done with triggers for a small bomb run.
-
ok i can now get them to plant a bomb. now i need to know how to make him blow it. is it with the same fire command? because unit action ["TOUCH_OFF"] does not work. infact the action command doesn't work for me at all. anyway how do i make him blow it?
-
i found it! it is unitname action ["touchoff"]. thanks to everyone who helped