updating script

balthier1
06 Jun 2012, 18:45
how do i update a "use object on object" script to check for a flag?

sgreig
07 Jun 2012, 06:11
Use an IF script set to "if object has flag."

balthier1
08 Jun 2012, 13:39
Didn't get it. can you be a little more specific? isn't that what i done in the first place?

sgreig
09 Jun 2012, 01:27
It's difficult to be more specific unless I can see the code you have. Could you either post your code here, or attach your game file and tell me what object you're trying to put the script on and what flag you're checking for?

balthier1
09 Jun 2012, 15:49
I am currently following the tutorial, step by step so i can learn it well. i must update the "use defibrillator on bob" script to chek for the "alive" flag.

http://quest5.net/wiki/More_things_to_do_with_objects

the page is here, but i will attach the game file anyway.

Pertex
09 Jun 2012, 16:41
If you are doing the tutorial you can look at the end of "6. Moving objects during the game". There you can download the "Tutorial Game.aslx" and have a look at it