ok this is what i have so far..... but i cant check if it works till i get a
test map from my mapper cause my compile tools are all bust:(
anyway
i took the CLight definitions stuff out of lights.cpp
and put it in to a new file called lights.h
and i have this code to make the light toggle but im still pretty sure im
not using the GetClassPtr( right or i need to use somthing else
CLight *pLight = NULL;
pLight = GetClassPtr(( CLight *)NULL);
pLight->Use(NULL, NULL, USE_TOGGLE, 0);
im also not to sure about how to use
FIND_ENTITY_BY_STRING();
im trying to look for a light entity in the map with the name "light"
_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders