Home   Help Search Login Register  

Author Topic: weird skiptime problem  (Read 499 times)

0 Members and 1 Guest are viewing this topic.

Offline DarkAngel

  • Members
  • *
  • The night is my friend.
    • DarkAngels Missions
weird skiptime problem
« on: 04 Nov 2004, 10:56:57 »
I've suddenly started experiencing an error when using skipTime. It's fine when I just do it from a trigger, but when activated by a script or variable I get:

skiptime 8
[unknown operator 8]

or even skiptime _time
[unknown operator _time]

Has anyone else ever had this problem? It's never seemed to happen with any of the other times I've used it, or with other people's missions. I'm using 1.96b...
"Moondark" in Beta Testing

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:weird skiptime problem
« Reply #1 on: 04 Nov 2004, 11:24:30 »
All I can give you is a different data point.  I use v1.96.  I use skiptime in scripts.  My latest is: skiptime (_missionstart - daytime) but I have used simpler and more complicated instructions and it all works fine with no errors.  



Be careful with _time.  _time is an OFP defined variable returning the number of seconds since the script started.  You should not use it as one of your own variables.
« Last Edit: 04 Nov 2004, 11:25:20 by THobson »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:weird skiptime problem
« Reply #2 on: 04 Nov 2004, 11:28:39 »
You may have an extra space between the skiptime and the 8, or something stupid like that.

Quote the exact line from the script, and also the exact error message including the #.
Plenty of reviewed ArmA missions for you to play