Post Reply 
 
Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
Author Message
Ben
Sphere Developer
*****

Posts: 605
Likes Given: 2
Likes Received: 119 in 69 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #21
RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
you could always use FORINSTANCES on t_door and t_sign_gump also Wink

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
05-22-2013 02:47 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Staff_Stanic
Journeyman
*

Posts: 97
Likes Given: 27
Likes Received: 14 in 8 posts
Joined: Nov 2012
Reputation: 1

Dimension Shard

Post: #22
RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
(05-22-2013 02:47 AM)Ben Wrote:  you could always use FORINSTANCES on t_door and t_sign_gump also Wink

Why nobody said this on Wiki? Sad(
05-22-2013 05:25 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,671
Likes Given: 237
Likes Received: 160 in 149 posts
Joined: Mar 2012
Reputation: 33



Post: #23
RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
05-22-2013 05:27 AM
Find all posts by this user Like Post Quote this message in a reply
Staff_Stanic
Journeyman
*

Posts: 97
Likes Given: 27
Likes Received: 14 in 8 posts
Joined: Nov 2012
Reputation: 1

Dimension Shard

Post: #24
RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
(05-22-2013 05:27 AM)darksun84 Wrote:  It's actually on chapter 7 Tongue

http://wiki.sphere.torfo.org/index.php/C...RINSTANCES
But the thing that Ben said have there?
Like FORINSTANCES t_door (is this?)
05-22-2013 06:20 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,671
Likes Given: 237
Likes Received: 160 in 149 posts
Joined: Mar 2012
Reputation: 33



Post: #25
RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
ah damn, nope! my fault Blush
05-22-2013 06:24 AM
Find all posts by this user Like Post Quote this message in a reply
Rattlehead
Master
**

Posts: 290
Likes Given: 3
Likes Received: 8 in 6 posts
Joined: Jun 2012
Reputation: 8



Post: #26
RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
(05-22-2013 06:20 AM)Staff_Stanic Wrote:  
(05-22-2013 05:27 AM)darksun84 Wrote:  It's actually on chapter 7 Tongue

http://wiki.sphere.torfo.org/index.php/C...RINSTANCES
But the thing that Ben said have there?
Like FORINSTANCES t_door (is this?)


he has a point

SphereWiki Wrote:This offers the following advantages over using FORITEMS/FORCHARS 9999:
  • Sphere will only run your script for objects with the BASEID you are interested in.
  • Sphere knows how many instances of the object exist, so can abort the loop at an appropriate time.
  • Items inside containers (e.g. character backpacks or player banks) will not be missed out.

in this case Ben says FORINSTANCES will loop thru t_door yet on the wiki it specifically states it only loops thru BASEID not type definitions, so will it loop thru type definitions? if so the wiki will need updating.

[Image: matts_siggy.gif]
05-22-2013 06:41 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,671
Likes Given: 237
Likes Received: 160 in 149 posts
Joined: Mar 2012
Reputation: 33



Post: #27
RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
Uhm it actually doesn't work with Types Confused
05-22-2013 06:51 AM
Find all posts by this user Like Post Quote this message in a reply
amonvangrell
Master
**

Posts: 335
Likes Given: 17
Likes Received: 32 in 20 posts
Joined: Aug 2012
Reputation: 8

britannia shard

Post: #28
RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
Thx you all for the comments!
(05-22-2013 02:47 AM)Ben Wrote:  you could always use FORINSTANCES on t_door and t_sign_gump also Wink

I've tried what you said, but it didn't work.

(05-22-2013 02:36 AM)Staff_Stanic Wrote:  Hey! Just more tips Big Grin
(Just a PS.: I don't test! Please, check before Big Grin)

Am sorry am very week on scripting, but what its the difference on that implement? thx!

Daprakrer.blogspot.com <--- This is my blog... :]
In nomine magnae Veritas.Confused
05-22-2013 07:29 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Staff_Stanic
Journeyman
*

Posts: 97
Likes Given: 27
Likes Received: 14 in 8 posts
Joined: Nov 2012
Reputation: 1

Dimension Shard

Post: #29
RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
(05-22-2013 07:29 AM)amonvangrell Wrote:  
(05-22-2013 02:36 AM)Staff_Stanic Wrote:  Hey! Just more tips Big Grin
(Just a PS.: I don't test! Please, check before Big Grin)

Am sorry am very week on scripting, but what its the difference on that implement? thx!
Just otimization Big Grin
05-22-2013 07:52 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 605
Likes Given: 2
Likes Received: 119 in 69 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #30
RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
sorry, stupid mistake. Didn't realise it was types... oops Blush

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
05-22-2013 08:08 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

This forum uses Lukasz Tkacz MyBB addons.