obj/NPCs |
Hello.I want to make that when player click on Npc he will open winset.But I just made error by trying it.Ty for any help
Hello.I want to make that when player click on Npc he will open winset.But I just made error by trying it.Ty for any help | ||
#1 Feb 21 2012, 3:07 pm
Best response
|
||
You are using the wrong argument for the reference in winset().
| ||
#2 Feb 21 2012, 3:10 pm
|
|
Omg lol yea. Ty :)
| |
#3 Feb 21 2012, 3:12 pm
|
||
Slightly nitpicky (or more so), but I think you might as well use winshow() here if that's all you're doing. If you're going to be modifying multiple parameters on the same control, that would be good in a single winset(). If not, you might as well use winshow().
edit: Also, Click() doesn't work like a normal verb where you use verb settings. If you want to restrict it like that, you need to use an if() instead. And, clicks also don't show up in verb panels, so the category setting is even more unnecessary.
| ||