GetStandingLayers

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
xeon
Forum Regular
Posts: 338
Joined: Fri Oct 31, 2008 3:18 am

GetStandingLayers

Post by xeon »

I sincerely don't recall anymore what all these flags in GetStandingLayers means... could someone enlighten me?
Explanation
const MAPDATA_FLAG_NONE := 0x0000; // Nothing
const MAPDATA_FLAG_MOVELAND := 0x0001; // Move Land
const MAPDATA_FLAG_MOVESEA := 0x0002; // Move Sea
const MAPDATA_FLAG_BLOCKSIGHT := 0x0004; // Block Sight
const MAPDATA_FLAG_OVERFLIGHT := 0x0008; // Over Flight
const MAPDATA_FLAG_ALLOWDROPON := 0x0010; // Allow DropOn
const MAPDATA_FLAG_GRADUAL := 0x0020; // Gradual
const MAPDATA_FLAG_BLOCKING := 0x0040; // Blocking
const MAPDATA_FLAG_MORE_SOLIDS := 0x0080; // List more Solids
xeon
Forum Regular
Posts: 338
Joined: Fri Oct 31, 2008 3:18 am

Re: GetStandingLayers

Post by xeon »

Seems I'm not the only one with bad memory :P
User avatar
atreiu
Grandmaster Poster
Posts: 151
Joined: Mon May 24, 2010 1:08 pm

Re: GetStandingLayers

Post by atreiu »

this is the exact layers. if you stand in 0x0001 and pass in GetStandingLayers() 0x0002 then { } because of water isnt walkable
xeon
Forum Regular
Posts: 338
Joined: Fri Oct 31, 2008 3:18 am

Re: GetStandingLayers

Post by xeon »

Ok, but what about the others?
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: GetStandingLayers

Post by Tomi »

const MAPDATA_FLAG_NONE <---- Nothing
const MAPDATA_FLAG_MOVELAND <----- Everything that moves on land can move on this
const MAPDATA_FLAG_MOVESEA <------ Everything that moves on seacan move on this
const MAPDATA_FLAG_BLOCKSIGHT <----- As the name say blocks LOS
const MAPDATA_FLAG_OVERFLIGHT := 0x0008; <----- For SA Gargoyle flying to mark the tiles that can fly on
const MAPDATA_FLAG_ALLOWDROPON := 0x0010; <------- As name say allows item drops on that tile
const MAPDATA_FLAG_GRADUAL := 0x0020; <---- No idea sorry
const MAPDATA_FLAG_BLOCKING := 0x0040; <------- Blocks Movement
const MAPDATA_FLAG_MORE_SOLIDS := 0x0080; <------- No idea sorry
User avatar
atreiu
Grandmaster Poster
Posts: 151
Joined: Mon May 24, 2010 1:08 pm

Re: GetStandingLayers

Post by atreiu »

0xffffffff <---- All

:)
xeon
Forum Regular
Posts: 338
Joined: Fri Oct 31, 2008 3:18 am

Re: GetStandingLayers

Post by xeon »

Thank you very much guys.
Post Reply