Graal Forums  

Go Back   Graal Forums > Search Forums
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: fowlplay4
Forum: NPC Scripting 11-07-2015, 09:05 PM
Replies: 14
Views: 3,507
Posted By fowlplay4
Do a check so you aren't updating the ani every...

Do a check so you aren't updating the ani every time your script times out.

e.g. if (ani != player.ani) ani = player.ani;
Forum: NPC Scripting 11-06-2015, 07:16 PM
Replies: 14
Views: 3,507
Posted By fowlplay4
Get the tile data: this.level.tiles[tx, ty] ...

Get the tile data: this.level.tiles[tx, ty]

Use these functions:


gettileset(); // returns the current tileset image

//credit to dusty
function TilesToImage(t) {
if (t.type() == 0) {
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT +2. The time now is 12:17 PM.


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