OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: -=Reaper=- on 29 Nov 2002, 20:28:19

Title: Chat,Radio,Animations
Post by: -=Reaper=- on 29 Nov 2002, 20:28:19
ok here i go

Type Soldier
Name A1

Type Soldier
Name A2

i need to make a trigger when Either A1 or A2 activates it
that They will say  *name*: Test 1 2 3

and 2

How can i make a random explosion accure? with a trigger ofcourse?

Anyone can help me with this please do
Title: Re:Chat,Radio,Animations
Post by: Black_Feather on 03 Dec 2002, 13:20:25
ok make a trigger and make it activated by whichever side you want, and then put this in the condition field

a1 in thislist or vehicle a1 in thislist or a2 in thislist or vehicle a2 in thislist

and execute a script like this

[thislist select 0] exec "scriptname.sqs"


and in your script put

_guy = _this select 0
_guysname = name _guy
Titletext [Format ["%1 test: 1,2,3", _guysname],"Plain Down"]

and that should do it.