View Single Post
Scripting Problem
Old
  (#1)
an-innocent-civilian is Offline
Junior Member
 
Posts: 14
Join Date: Mar 2002
Location: Almere, The Netherlands
  Send a message via MSN to an-innocent-civilian  
Default Scripting Problem - 08-31-2002, 12:36 PM

I'm working on a part of my map (sniper range) and made a script, but I don't get a small thing.

I I want a object to move up, I'll just set "time" and "move up #" like:

$movingobject time 3

$object_ trigger waittill trigger

$movingobject moveup 64

But when I press the trigger again I don't want the object to move higher, but to move down again.

I a elevator I used:

local.elepos = 1/0

Is that elepos thing predefined somewhere, cause it won't work when I use something like:

local.objectpos - 1/0

Can anyone help me?

Grtz

AIC
  
Reply With Quote