AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [SOLVED] Entity spawn help (https://forums.alliedmods.net/showthread.php?t=76431)

minimiller 08-24-2008 12:08

[SOLVED] Entity spawn help
 
If i spawn an entity at random co-ordinates, is there any way of finding if its in a wall, or unaccessable?

Emp` 08-24-2008 12:48

Re: Entity spawn help
 
Looking at this you could try
Code:

public In_Map(id)
{
        new Float:llevel
        pev(id,pev_light_level,llevel)

        if(!llevel)
                return 0;
        return 1;
}


minimiller 08-24-2008 12:53

Re: Entity spawn help
 
Awesome! +k for you and GHW ;)

off topic:
Could this thread get any better?
I recieved help on a topic ive been pissing about with for ages and to top it off: we got dancing badgers and lobsters!
What a world we live in


All times are GMT -4. The time now is 03:11.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.