OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: my acc. was remove on 22 Oct 2005, 18:41:02

Title: can ysome of you give some acton scripts
Post by: my acc. was remove on 22 Oct 2005, 18:41:02
i dont know what i have to do 2 make an unit open a gate (ofp mission editor was designed so poorly)
Title: Re:can ysome of you give some acton scripts
Post by: Planck on 22 Oct 2005, 18:56:01
You can find a list of known action commands here (http://www.ofpec.com/editors/resource_view.php?id=862).


Planck
Title: Re:can ysome of you give some acton scripts
Post by: RolsRois on 22 Oct 2005, 20:01:33
Planck, the command isn't there
"My acc. was remove", use this, i think:
unitname Action ["Open Gate"];
not sure it whould work but try it
Title: Re:can ysome of you give some acton scripts
Post by: Trapper on 22 Oct 2005, 20:56:57
There are no gates to open in normal OFP, only some addons come with this option. It's  up to the creator then how to call the action I believe.
So if there is no readme you'll have to depbo the addon.

If you can't get it working at all, maybe a script will help. Search "gate" at the editors depot.
Title: Re:can ysome of you give some acton scripts
Post by: Planck on 22 Oct 2005, 21:28:50
The list of action commands I posted are the standard game action commands.

As has been pointed out, user made actions are just that......user made actions.

They will not be included in that list for obvious reasons.

Any user made addon that uses custom actions should include a Readme file that will detail how to use the actions.


Planck
Title: Re:can ysome of you give some acton scripts
Post by: pazuzu on 23 Oct 2005, 04:08:17
Quote
(ofp mission editor was designed so poorly)

Why do you think the editor is designed poorly?
Title: Re:can ysome of you give some acton scripts
Post by: my acc. was remove on 23 Oct 2005, 11:26:33
yes because it requires a world class super script 2 make a unit drop a magazine LOL ;D
Title: Re:can ysome of you give some acton scripts
Post by: El Fisho on 23 Oct 2005, 14:39:38
it does?
Title: Re:can ysome of you give some acton scripts
Post by: THobson on 23 Oct 2005, 14:41:02
This works quite well for a wire object.  
http://www.ofpec.com/editors/resource_view.php?id=717

Because of the way OFP creates its objects it could need to be changed for other objects.  Try experimenting with it.