OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Resources Beta Testing & Submission => Topic started by: Silent Sniper on 14 Aug 2003, 15:06:18

Title: Car Locking/Unlocking Script
Post by: Silent Sniper on 14 Aug 2003, 15:06:18
this is my first script that I made, it needs some improvements like only one person being able to lock/unlock the car, and removing and adding actions when nessesary, some help plz  :). the updated script + mission will overwrite the older one in the first post every update
Title: Re:Simple car locking/unlocking script
Post by: Silent Sniper on 15 Aug 2003, 20:38:31
anybody interested?....  :-\ i could really use some help with this  :'(
Title: Re:Simple car locking/unlocking script
Post by: Sniper_Kyle on 29 Sep 2003, 21:21:17
I'll try it out but why dont you make the action happen from the car instad of one guy.  That way you can have multiple ppl that all can unlock it.

ChEeRs,
    Sniper_Kyle ;D
Title: Re:Simple car locking/unlocking script
Post by: KJAM on 30 Sep 2003, 22:06:08
no offence kyle but dont you think that letting multiple people unlock the car kinda negates the point of  locking the car lol

maybe you could make one so that a certain object that you pic up from a enemy  soldier enables you to unlock the vehicle etc
Title: Re:Simple car locking/unlocking script
Post by: Kyle on 03 Nov 2003, 00:32:26
haha good point kjam ;D
Title: Re:Simple car locking/unlocking script
Post by: Commando on 09 Nov 2003, 12:48:44
Really nice script i think but i have only tried it in the editor.
But i found a funny bug in it when i wasdriving the car i could lock the car and my civilian dude was still partly inside the car and partly outside...
really funny locking. here's the pic!
other from that its a good script than can come in handy for people.
 :)
Title: Re:Simple car locking/unlocking script
Post by: Silent Sniper on 10 Nov 2003, 23:23:30
Sorry for the l8 reply been really busy :'(, and on top of that i forgot my password and this thread  :-[, back on topic. To commando: lol thats a bit of a strange one hehe, ill look into that and see what i can do. i havent had time 2 look at this script for ages and will get round 2 it this week sometime as ive sortof improved scripting a bit  8)
Update: new download at top of page, feel free to post bugs and such  ;)