OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Strikerthemedic on 22 Aug 2004, 22:03:35

Title: Action doesnt work, plz help
Post by: Strikerthemedic on 22 Aug 2004, 22:03:35
Okay ive read the action topic and searched for it over the forum but im having problems with a addon object i downloaded.

This vehicle has a custom action called "Siren on"

I tried triggering this action by typing: policecar action ["Siren on"] in its initialisation field of that police car. (Also tried: policecar action ["Siren on", policecar])

i tried typing the same command in the "on activation" in a move trigger..

None of these seem the work...

Some help?

Thx in advance...
Title: Re:Action doesnt work, plz help
Post by: dmakatra on 22 Aug 2004, 22:09:09
1st of all. NEVER, EVER use triggers to execute things. Vet players dont see em and AI might miss em.

2nd, the syntax is probably in the readme of that addon you're using (as it had a custom action) . Look it up there.

:beat: *Gets Shot* :beat:
Title: Re:Action doesnt work, plz help
Post by: Strikerthemedic on 22 Aug 2004, 22:10:35
so i need to write that command down in the initialistaion of the police car?
Title: Re:Action doesnt work, plz help
Post by: dmakatra on 22 Aug 2004, 22:11:40
or in a trigger or a script or whatever.

:beat: *Gets Shot* :beat:
Title: Re:Action doesnt work, plz help
Post by: Strikerthemedic on 22 Aug 2004, 22:15:53
ARGH  >:( It was in the readme after all, i spent hours trying to get it to work  :-\

ah Well
thx for telling me to check the readme :)

i feel so dumb : ;D
Title: Re:Action doesnt work, plz help
Post by: LCD on 22 Aug 2004, 22:30:51
what he meant is never use WPs 2 do sh|t ::) not trigers, trigers r ur friends (scripts r ur best friends ;D)

now that u no longer have probs....

use the solve button on this thread... this will magicly close the thread nd wont let ppl like me spam here  8)  :D

LCD OUT