Item_on_spot
Author | Topic: Item_on_spot |
---|---|
Master
Member # 5977
|
written Saturday, September 30 2006 06:24
Profile
Homepage
I want a script to check whether there is a specific item on a specific spot, but I didn't find the right call. I only found "item_of_class_on_spot" and that was basically it. is there the call i want (a call to check whether a specific items was put on a specific spot), or will I have to do it with the item_of_class call? -------------------- Play and rate my scenarios: Where the rivers meet View my upcoming scenario: The Nephil Search: Escape. Give us your drek! Posts: 3029 | Registered: Saturday, June 18 2005 07:00 |
Shaper
Member # 7472
|
written Saturday, September 30 2006 07:12
Profile
Homepage
Odd. I thought there was a call for that. It looks like you're stuck with item_of_class_on_spot. -------------------- I tried to think of something witty to put here. Needless to say, I failed. Posts: 2686 | Registered: Friday, September 8 2006 07:00 |
Master
Member # 5977
|
written Sunday, October 1 2006 08:15
Profile
Homepage
I tried the following: It doesn't seem to work. Anybody know what the cause could be? -------------------- Play and rate my scenarios: Where the rivers meet View my upcoming scenario: The Nephil Search: Escape. Give us your drek! Posts: 3029 | Registered: Saturday, June 18 2005 07:00 |
Shaper
Member # 7472
|
written Sunday, October 1 2006 08:18
Profile
Homepage
Make sure you have the items set to a special class. -------------------- I tried to think of something witty to put here. Needless to say, I failed. Posts: 2686 | Registered: Friday, September 8 2006 07:00 |
Master
Member # 5977
|
written Sunday, October 1 2006 08:48
Profile
Homepage
I did that, didn't I? The third parameter in between the brackets (1 at the first call, 2 at the second), is the item class. -------------------- Play and rate my scenarios: Where the rivers meet View my upcoming scenario: The Nephil Search: Escape. Give us your drek! Posts: 3029 | Registered: Saturday, June 18 2005 07:00 |
Infiltrator
Member # 3040
|
written Sunday, October 1 2006 12:16
Profile
Are there supposed to be semicolons after the "if" statements? -------------------- 5.0.1.0.0.0.0.1.0... Posts: 508 | Registered: Thursday, May 29 2003 07:00 |
Shaper
Member # 7472
|
written Sunday, October 1 2006 12:21
Profile
Homepage
I mean that you have to set that specific item to that class in your scenario data script. -------------------- I tried to think of something witty to put here. Needless to say, I failed. Posts: 2686 | Registered: Friday, September 8 2006 07:00 |
...b10010b...
Member # 869
|
written Sunday, October 1 2006 13:54
Profile
Homepage
quote:No. Also, if I were writing it, I'd practise safe mathematics and use parentheses: [ Sunday, October 01, 2006 13:54: Message edited by: Anthropos Kakistos ] -------------------- The Empire Always Loses: This Time For Sure! Posts: 9973 | Registered: Saturday, March 30 2002 08:00 |