SphereCommunity
Animals into pack - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Animals into pack (/Thread-Animals-into-pack)

Pages: 1 2


Animals into pack - mrkarlo - 12-11-2016 08:37 AM

Hi
Why when i shrink the creatures - creature goes into a backpack? I need that creature stay on the ground.


RE: Animals into pack - Kanibal - 12-11-2016 08:46 AM

I think that shrink function is harcoded. Btw you can try to do something with
i_potion_Shrink (Click to View)



RE: Animals into pack - mrkarlo - 12-11-2016 08:56 AM

thanx, but your script is - the same problem. As i know that on sphere 56b - pet fall on the ground when your shrink. Now im using 56c! Mb it is a trick on that version of sphere?


RE: Animals into pack - Kanibal - 12-11-2016 09:18 AM

(12-11-2016 08:56 AM)mrkarlo Wrote:  thanx, but your script is - the same problem.
It's not my script. I copy it from sphere scripts.
(12-11-2016 08:56 AM)mrkarlo Wrote:  As i know that on sphere 56b - pet fall on the ground when your shrink. Now im using 56c! Mb it is a trick on that version of sphere?
Try 56d


RE: Animals into pack - mrkarlo - 12-15-2016 03:25 AM

where can i download def scripts for sphere 56d?


RE: Animals into pack - Kanibal - 12-15-2016 03:50 AM

(12-15-2016 03:25 AM)mrkarlo Wrote:  where can i download def scripts for sphere 56d?

Open your eyes Doubt


RE: Animals into pack - mrkarlo - 12-15-2016 03:56 AM

hey once again! def scripts available only for 56c! And i cant download, there is an error - Strict Standards: Only variables should be passed by reference in /www/htdocs/w00c64b9/forum/sshare.php on line 142


RE: Animals into pack - Kanibal - 12-15-2016 04:03 AM

https://forum.spherecommunity.net/sshare.php?srt=4


RE: Animals into pack - mrkarlo - 12-15-2016 04:27 AM

thnx man! Iv tested shrink potion on 56d and the problem is relevant. Pet goes to the backpack. any solution?

2. i need some code, return 1 if pet have not full hp!

if (<src.targ.hits> >= <src.targ.str>)
SRC.SYSMESSAGE Creature must be full HP.
RETURN 1
ENDIF

not work! any solution please!


RE: Animals into pack - mrkarlo - 12-15-2016 05:02 AM

Can't resolve <act.targ.hits>
Can't resolve <act.targ.str>
Undefined symbol '' ['< )']
Undefined symbol ''

Code:
if (<act.targ.hits> < <act.targ.str>)
SRC.SYSMESSAGE Creature must be full HP.
RETURN 1
ENDIF