Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting Multiplayer
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
player = ? on dedicated server?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: player = ? on dedicated server? (Read 1222 times)
0 Members and 1 Guest are viewing this topic.
snYpir
BIS Team
OFPEC Jedi Master
player = ? on dedicated server?
«
on:
18 May 2003, 06:31:48 »
What does the 'player' variable equal on a dedicated server? ie on the actual server machine?
Logged
Bohemia Interactive Simulations
snYpir
BIS Team
OFPEC Jedi Master
Re:player = ? on dedicated server?
«
Reply #1 on:
18 May 2003, 06:41:20 »
Answering my own question...
It equals <NULL-object>. So the following can be used to determine if a script is running on the dedicated server machine:
? format["%1",player] == "<NULL-object>" : hint "i am on the ded server"
;D
Logged
Bohemia Interactive Simulations
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting Multiplayer
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
player = ? on dedicated server?
Top of page