![]() |
Chicken Carry and Water Maze Script Help
I was to make levels in offline editor but I can't do a water maze right, this is what I have:
// NPC made by E-Man if (playerswimming) { playerx=31; playery=42; } It only works if I start in the water. Also I want to know how to how to change the carry gani of an npc so I can carry a chicken because when I try to carry a chicken, it looks like a person, and I can't use "replaceani" or "replacecharani", |
Playerswimming is a passive flag, you'll need to continuously keep on checking the flag,
this can be either through a while or timeout loop. PHP Code:
|
Thank you for the response. I still need help with the carried chicken gani though.
|
Sorry, I didn't pay attention to your other quest. You can achieve this in a variety of ways.
Although I think the carry function is broken(online). You can do this though: PHP Code:
canbecarried; should work fine. Which will be inserted into the npc you want to be able to carry. You should take the time to look at commands.rtf in closer detail, GS1 is a really easy language which shouldn't really need assistance with. |
PHP Code:
|
I'm just wondering, how might the online version be fixed?
What I would do is an ongoing timeout checking the direction of the player, which location from the npc he is at, and then if he is doing the grab gani. Then I guess you'd make the carrying gani the image that it is carrying? But is there a more efficient way of making onplayergrabs? |
Quoting is not working right now for me, but I can't use
"setplayerprop #P3,chickenImage.png; replaceani idle,carrystill; replaceani walk,carry;" that Tricxta said because it is for the player and not the npc itself. I also can't use "if (created) { setimg chicken.gif; canbecarried; } " that DustyPorViva said because it is using an image and not a gani. I need to make it a gani for an npc character that replaces the original carry gani. |
Quote:
|
Well this is my solution for online which still doesn't work...
Level NPC: PHP Code:
PHP Code:
but I still feel there is an easier way then how I'd do it.. Even if I got it to work, serverside, it would still be pretty slow... Doesn't want to react after hidden it seems, and I don't want to change its alpha... Then at -2 -2 it doesn't want to react... X = 2 and Y = 2 was my best bet. :/ Also, E_Man, you can also 'fake quote' by putting QUOTE and /QUOTE with the brackets. |
Stop confusing people david, he wants an offline script and he's been given it. That means it can only be GS1. If you want to show case your poor script take it to the code gallery.
|
Ok, so I can't change the carry gani of an npc, I can only use an image. :(
|
There you go for the gani version.
PHP Code:
|
But he wants a chicken not a character :|
|
Quote:
Quote:
You don't know how his chicken is made :P if it's a body, head, complete own gani or whatever ^^ |
Oh.
|
| All times are GMT +2. The time now is 03:37 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.