![]() |
RC Plane Script
1 Attachment(s)
I haven't added everything id like to yet but here is the basic concept of what im making.
Feedback is appreciated :D Everything is in the zip folder. Instructions: 1: Place all image files in levels/images and ensure folder config is right. 2: Place all gani files in levels/ganis and ensure folder config is right. 3: Make a weapon named whatever and copy everything from the plane script. 3: If you want this to actually do damage to players upload the projectiles script. Enjoy. -Gunderak |
should probably avoid putting enabledefmovement() in the onCreated event of scripts since it could have unintended consequences if the player receives the item when their movement is intentionally disabled.
doesn't seem like there is a way to cancel out of the weapon after you use it (beyond reconnecting or adding it to yourself again) if you're using default movement, you should use hitplayer instead of player.hearts -= .5; |
does hitplayer do 0.5 damage?
|
is there any way to check if a projectile hits a certain x and y?
|
Quote:
passing 0 as the ID would make it hit the own player. |
is there any way of detecting projectiles at a certain x and y range?
other was il have to make the player follow this.x and this.y and male it a gani. |
Shoot projectiles call onActionProjectile2 when they land/hit someone.
PHP Code:
setshootparams("missile", player.account); |
Some feedback:
Style your scripts, PHP Code:
PHP Code:
You should place the plane into a gani and use the following in your timeout PHP Code:
|
iv made it a gani but how would i show a gani away from the player and make it act on projectiles? im confused completly.
|
The basics of your script could look like:
PHP Code:
|
i havnt had a chance to test it yet as im not homw but thanks i really apprifiate you taking time to actually write all that :)
il be sure to test around when im home. |
Lol 100% sure the person won´t response but who neg repped me saying
Quote:
Seems like someone was bored or very mad xD |
iv made it a gani and done it and it works perfect now :D thanks for your help.
|
| All times are GMT +2. The time now is 01:46 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.