Difference between revisions of "Object within one tile of object in (local)"

From SimsWiki
Jump to: navigation, search
 
 
Line 1: Line 1:
 
[[Image:ObjectWithinOneTile.JPG|frame|Diagonal 'adjacent' tiles are also located]]
 
[[Image:ObjectWithinOneTile.JPG|frame|Diagonal 'adjacent' tiles are also located]]
This is a flavour of the [[0x001f|Set to Next (0x001F) primitive]].
+
This is a flavour of the [[0x001F|Set to Next (0x001F) primitive]].
  
 
This is probably a better instruction than [[Obj adjacent to object in (local)]] since it also includes the diagonal squares as well. Probably what I originally thought the former did until I tried it! A picture makes it absolutely clear. As with the other instruction, you put the object in question in the nominated Local variable.
 
This is probably a better instruction than [[Obj adjacent to object in (local)]] since it also includes the diagonal squares as well. Probably what I originally thought the former did until I tried it! A picture makes it absolutely clear. As with the other instruction, you put the object in question in the nominated Local variable.

Latest revision as of 22:03, 17 January 2010

Diagonal 'adjacent' tiles are also located

This is a flavour of the Set to Next (0x001F) primitive.

This is probably a better instruction than Obj adjacent to object in (local) since it also includes the diagonal squares as well. Probably what I originally thought the former did until I tried it! A picture makes it absolutely clear. As with the other instruction, you put the object in question in the nominated Local variable.

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox