Welcome to the Creatures Wiki! Log in and join the community.

Difference between revisions of "PERM"

From Creatures Wiki
Jump to: navigation, search
(SIZE)
m (typofix)
 
Line 3: Line 3:
 
Doors have their own permeability function which ranges from 0 to 100, with 0 meaning that nothing can pass through the door and 100 meaning that anything may pass through the door.
 
Doors have their own permeability function which ranges from 0 to 100, with 0 meaning that nothing can pass through the door and 100 meaning that anything may pass through the door.
  
The PERM function defines the limit at which an object recognizes a door as impassible. For instance, of an object's PERM is 100 it will pass through any door which has a permeability greater than 0, and an object with a PERM of 0 will not pass through any door with a permeability less than 100.
+
The PERM function defines the limit at which an object recognizes a door as impassible. For instance, if an object's PERM is 100 it will pass through any door which has a permeability greater than 0, and an object with a PERM of 0 will not pass through any door with a permeability less than 100.
  
 
Whenever PERM changes, the [[engine]] checks that the agent is in a valid position in the world.[https://web.archive.org/web/20050312122959/http://www.freewebs.com/alimaggs/creaturesdev/cdn/c3/knowledgebase/c3_errors.html]  It replaces the [[SIZE]] command in [[Creatures 2]].[https://web.archive.org/web/20050312123240/http://www.freewebs.com/alimaggs/creaturesdev/cdn/c3/knowledgebase/c3_agentprop.html]
 
Whenever PERM changes, the [[engine]] checks that the agent is in a valid position in the world.[https://web.archive.org/web/20050312122959/http://www.freewebs.com/alimaggs/creaturesdev/cdn/c3/knowledgebase/c3_errors.html]  It replaces the [[SIZE]] command in [[Creatures 2]].[https://web.archive.org/web/20050312123240/http://www.freewebs.com/alimaggs/creaturesdev/cdn/c3/knowledgebase/c3_agentprop.html]

Latest revision as of 09:30, 17 June 2018

PERM is a CAOS function which defines how an agent interacts with the doors within a world.

Doors have their own permeability function which ranges from 0 to 100, with 0 meaning that nothing can pass through the door and 100 meaning that anything may pass through the door.

The PERM function defines the limit at which an object recognizes a door as impassible. For instance, if an object's PERM is 100 it will pass through any door which has a permeability greater than 0, and an object with a PERM of 0 will not pass through any door with a permeability less than 100.

Whenever PERM changes, the engine checks that the agent is in a valid position in the world.[1] It replaces the SIZE command in Creatures 2.[2]

Editnorn.png This article about a CAOS command or function needs further examples.