Home   Help Search Login Register  

Author Topic: params, how do they actually work?  (Read 574 times)

0 Members and 1 Guest are viewing this topic.

RedHouse

  • Guest
params, how do they actually work?
« on: 23 Jul 2005, 00:55:47 »
Hey does anyone know how the params work in multiplayer because i cant find any tuts on them and have little idea on how they work.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:params, how do they actually work?
« Reply #1 on: 23 Jul 2005, 01:43:38 »
I don't know if this will help you, but, read it anyway.

Params


Planck
I know a little about a lot, and a lot about a little.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:params, how do they actually work?
« Reply #2 on: 23 Jul 2005, 03:21:27 »
well, parameters work the same in both mp and sp, afaik.

there are many things that do work differently, certain commands etc., but parameters are the same

RedHouse

  • Guest
Re:params, how do they actually work?
« Reply #3 on: 23 Jul 2005, 12:39:26 »
so param1 and param2 becomes a global variable that can be used anywhere?

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:params, how do they actually work?
« Reply #4 on: 23 Jul 2005, 17:41:29 »
then you should have asked about global variables...parameters arewhat you give to scripts etc

I'm not positive but i think global variables need to be changed on the server in order to work right
once again i'm not sure

qqqqqq

  • Guest
Re:params, how do they actually work?
« Reply #5 on: 23 Jul 2005, 17:59:22 »
In MP use publicvariable to tell all clients when a variable changes.

RedHouse what's the underlying question/problem?

RedHouse

  • Guest
Re:params, how do they actually work?
« Reply #6 on: 24 Jul 2005, 00:19:25 »
hey i know wht global variables are and i know how to use publicVariable, but lets say i set everything up in the description.ext with param1 and param2

does that mean to use those values that are set for these params i can use in  any script things like

? param1 == 1: do this
? param1 == 2: do that