OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: danturn on 13 Oct 2007, 15:47:52

Title: New too editor need help please!
Post by: danturn on 13 Oct 2007, 15:47:52
I started playing OFPres quite a while back, and always enjoyed the gameplay, but never guite understood the mission editor, however I have read through tutorials and this has improved my ability.

One thing i need help with is a good in depth tutorial on triggers.

A trigger that I would like is to cause a vehicle to explode. I understand to set it to detected by west but I am unsure of what to type in the init field. Knowing that when creating a vehicle you can put "this setdammage 1" in the init field and it will become dammaged, using this i gave the vehicle a name and tried putting "(vehicle name) setdammage 1" when deteced by east but it said something about 1 not being a correct value.

Please help anyway possible!

Also I am having trouble with the zombie package and Farmland zombie pack, when using them i can't get them too kill ANYONE, i can only use a preset game logic for them too attack me group. Need help on setting it up so they will attack everyone and the people killled will ressurect as zombies!

Thanks again for any help!
Title: Re: New too editor need help please!
Post by: Chrispy on 14 Oct 2007, 07:01:22
http://www.ofpec.com/ed_depot/index.php?action=list&game=OFP&type=tu&cat=xyz

Chris :)
Title: Re: New too editor need help please!
Post by: Denz on 14 Oct 2007, 07:10:52
Same thing as Chris was directing you to  ;)
download the trigger tutorial (http://www.ofpec.com/download.php?id=22)
also see the beginners mission tutorial  trigger section (http://www.ofpec.com/ed_depot/beginners/triggers.php)
Hope that helps
Title: Re: New too editor need help please!
Post by: danturn on 14 Oct 2007, 20:44:45
Thanks but i'v looked through these before and they don't help. THey are far too basic.

I need something which has a list of the init commands and things like that with explanations of what they do.

thanks anyway
Title: Re: New too editor need help please!
Post by: Cheetah on 15 Oct 2007, 00:18:24
A list of all the commands? COMREF (http://www.ofpec.com/COMREF/index.php?action=list&game=All&letter=a).

About the beginners guide, keep in mind that it is for ArmA. About both being basic, yup they are, but you can't really go much further than those without resorting to having a really long file with lots of solutions to problems. Which is called a FAQ.

What the tutorials should've told you is that you need the following: a proper condition and the code to execute on activation.

condition: true
on activation: tank setdammage 1

where tank is the name of the vehicle to blow.

About the zombies, you might want to dePBO ZOS Zombies (http://www.ofpec.com/missions_depot/index.php?action=details&id=38&page=0&game=ArmA&cat=xyz) by Trapper to find out how he did it. Can't help you further at the moment, had a long day and want to sleep  :blink: