Raised This Month: $ Target: $400
 0% 

[SOLVED] Finding BSP monster spawn origin


Post New Thread Reply   
 
Thread Tools Display Modes
Schwabba2
Junior Member
Join Date: Jul 2012
Old 01-13-2013 , 16:15   Re: Finding BSP monster spawn origin
Reply With Quote #11

Quote:
Originally Posted by fysiks View Post
No. server_print() will work at any time. You may miss it in the server console because of other stuff that is output but it still works.
That's what i meant.
Schwabba2 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-13-2013 , 17:02   Re: Finding BSP monster spawn origin
Reply With Quote #12

pfn_keyvalue should show custom keyvalues. Attach the map so we can test.
__________________
Arkshine is offline
4554
Senior Member
Join Date: Aug 2009
Old 01-16-2013 , 05:03   Re: Finding BSP monster spawn origin
Reply With Quote #13

Quote:
Originally Posted by Arkshine View Post
pfn_keyvalue should show custom keyvalues. Attach the map so we can test.
So there is no other way to find it instead of attaching?
Will Orpheu helps?

Last edited by 4554; 01-16-2013 at 05:04.
4554 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-16-2013 , 06:27   Re: Finding BSP monster spawn origin
Reply With Quote #14

Look, I'm trying to help you, so attach your map because I would like to test myself, since pfn_keyvalue should show custom keyvalues, it's what use soccerjam and it's weird you say nothing appears ; so would like to see myself. Anyway, it's either parsing the map file, either hooking keyvalues.
__________________
Arkshine is offline
4554
Senior Member
Join Date: Aug 2009
Old 01-16-2013 , 21:55   Re: Finding BSP monster spawn origin
Reply With Quote #15

Quote:
Originally Posted by Arkshine View Post
Look, I'm trying to help you, so attach your map because I would like to test myself, since pfn_keyvalue should show custom keyvalues, it's what use soccerjam and it's weird you say nothing appears ; so would like to see myself. Anyway, it's either parsing the map file, either hooking keyvalues.
Oh sorry, I mistake getting ur meaning

There you are.

Edit:
I just found it there!!!
Code:
public pfn_keyvalue(entid)
{
	new classname[32], key[32], value[32]
	copy_keyvalue(classname, 31, key, 31, value, 31)

	if(equal(key, "classname") && equal(value, "monster_zombie"))
	{
		server_print("FOUND!")
		DispatchKeyValue("classname", "func_wall")
	}
}
Output: FOUND!
Attached Files
File Type: zip Test Map.zip (1.69 MB, 49 views)

Last edited by 4554; 01-16-2013 at 23:39.
4554 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:39.


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