Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   showimg on serverside from NPC (https://forums.graalonline.com/forums/showthread.php?t=134267126)

boolean 09-16-2012 04:26 PM

showimg on serverside from NPC
 
I'm trying to use showimg to draw a polygon from my NPC to the player on the serverside, yet showimg() or with(findimg()) isn't "working"

I've also tried triggering a weapon to draw on the clientside yet to no avail

any ideas?

ffcmike 09-16-2012 04:36 PM

This hasn't worked ever since a certain NPC-Server update a couple years ago affected the behaviour of variables being synchronised from serverside to clientside.
The best bet would probably be to set a gani attribute serverside, then use showimg within the gani attribute script.

boolean 09-16-2012 05:25 PM

Thanks, I'll look into that. So far what I've done is just saved the placed NPC's position in a db and retrieved it to draw within the weapon (seems to work fine)

+rep


All times are GMT +2. The time now is 10:02 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.