Skip to content
Morgan Willcock edited this page Oct 7, 2019 · 4 revisions

Tumbleweed Player functions


Verbs.FreezePlayer

vpod Verbs.FreezePlayer();

Use this function to prevent the player from moving by the following movement functions of the template.

See also: Verbs.UnfreezePlayer


Verbs.UnfreezePlayer

void Verbs.UnfreezePlayer();

Use this function to undo the FreezePlayer function and let the characters move again.

See also: Verbs.FreezePlayer


Verbs.SetPlayer

void SetPlayer(Character*ch);

Usage:

cEgo.SetPlayer();

Similar to the AGS function Character.SetAsPlayer(). The difference is, that make the previous character clickable again, whereas the new character gets unclickable.


Verbs.EnterRoom

void EnterRoom(this Character*, int newRoom, int x, int y, eDirection dir, bool onWalkable);

Usage:

cEgo.EnterRoom(1,15,15,eDir_Left,true);

Similar to the AGS function Character.ChangeRoom. The difference is, that you can also define, it which direction the character should look. Using this function makes the character turn to the direction, mentioned above.

Getting Started in AGS

Introduction

Frequently Asked Questions

Tutorial

Editor Reference

Room Editor

Character Editor

GUI Editor

Sprite Manager

View Editor

Inventory Items Editor

Other Features

Engine

The run-time engine

Graphics driver selection

Engine Setup Program

Scripting

Scripting Language

Scripting API

Reference

Working on Legacy games

Upgrading from a previous version

Legal Notice

Copyright and terms of use

Anonymous usage information

Credits

Getting in touch

Contacting the developers

Clone this wiki locally