Home   Help Search Login Register  

Author Topic: Pretty Basic Question  (Read 1071 times)

0 Members and 1 Guest are viewing this topic.

Mike

  • Guest
Pretty Basic Question
« on: 11 Sep 2002, 22:04:20 »
When I wright a script and add something with the name variable like: (f1 setflame true) is doesnt work...

How do I incorporate commands like that into the script..

I have a cutscene, and I want the fire to start before the shot and go out after..

and I tried to make a simple script to launch 6 scuds...

Code: [Select]
_scud1 action ["scud launch"]
~1
_scud2 action ["scud launch"]
~1
_scud3 action ["scud launch"]
~1
_scud4 action ["scud launch"]
~1
_scud5 action ["scud launch"]
~1
_scud6 action ["scud launch"]
~5
_scud1 action ["scud start"]
~1.5
_scud2 action ["scud start"]
~1.5
_scud3 action ["scud start"]
~1.5
_scud4 action ["scud start"]
~1.5
_scud5 action ["scud start"]
~1.5
_scud6 action ["scud start"]

exit

But it doesnt work?.. Need a fix..  :)
« Last Edit: 11 Sep 2002, 22:04:55 by Mike »

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Pretty Basic Question
« Reply #1 on: 11 Sep 2002, 22:36:12 »
Putting _'s infront of variables make them local variables.  This means that they have no influence on the game outside of the script.  Remove the _'s and you script will work.

Mike

  • Guest
Re:Pretty Basic Question
« Reply #2 on: 11 Sep 2002, 23:38:49 »
Ok, it worked..  ;D
« Last Edit: 11 Sep 2002, 23:52:45 by Mike »