OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Trasher on 19 Dec 2004, 11:55:33
-
ok guys i need som hlp with this k
i want a unit called W1 to get an action "contact HQ" when he is near the radio called radio
the action should trigger the radioout.sqs
and after that a Hint should appear
plz help =)
cheers mates :cheers:
-
If you add the action to the radio he will get the action on his list when he goes near the radio. He will need to be a within a few feet though.
radioname addAction ["Turn on the radio", "radioout.sqs"]
put the hint in radioout.sqs
If you want it to happen when he is further away try grouping him with a trigger and have the trigger do what you want.
-
ok but i havent made any missions for ofp for the past 6 months so could anyone refresh my memory how to make an hint :) lol
-
hint "whatever you want"
or
hint format ["number1 = %1; number2 = %2", number1, number2]
-
well thats what pretty easy lol 6 months and now im a n00b again :P ;)