OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: TH on 12 Jul 2004, 04:47:54

Title: building, setcaptive
Post by: TH on 12 Jul 2004, 04:47:54
How do i make a mansion like the one on nogova? And how do i setcaptive false when a person shoots?
Title: Re:building, setcaptive
Post by: Roni on 15 Jul 2004, 05:59:48
Hi Trigger Happy

I don't know about the mansion - try asking in the Addons forum.

Re: Changing the setCaptive.  I think you have to use an Event Handler (EH).  You set the EH to check for the player to fire and when he does run a simple script that sets the SetCaptive to false.

I really don't know the syntax etc for EH's but I'm sure that there are tutes etc over in the tutorials section.  EH's look very useful - they're probably going to be next area of study for the game . . .  :P  :noo:

Good luck !



Roni
Title: Re:building, setcaptive
Post by: TH on 15 Jul 2004, 09:10:24
thanks i got it to work forgot to close the topic ;D