Page 1 of 1

GetStandingLayers

Posted: Sun Sep 08, 2013 6:53 am
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

Re: GetStandingLayers

Posted: Mon Sep 09, 2013 11:58 pm
by xeon
Seems I'm not the only one with bad memory :P

Re: GetStandingLayers

Posted: Sat Sep 14, 2013 3:04 am
by atreiu
this is the exact layers. if you stand in 0x0001 and pass in GetStandingLayers() 0x0002 then { } because of water isnt walkable

Re: GetStandingLayers

Posted: Sat Sep 14, 2013 4:02 am
by xeon
Ok, but what about the others?

Re: GetStandingLayers

Posted: Sat Sep 14, 2013 12:26 pm
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

Re: GetStandingLayers

Posted: Sat Sep 14, 2013 11:11 pm
by atreiu
0xffffffff <---- All

:)

Re: GetStandingLayers

Posted: Sun Sep 15, 2013 7:20 am
by xeon
Thank you very much guys.